5th course of OpenClassrooms - Developpeur d'applications PHP/Symfony formation
- PHP 8.2 ('intl' and sqlite3 extension enabled)
- Composer
- npm (I used pnpm)
- sqlite 3
git clone https://github.com/tomcdj71/MyBlog
cd MyBlog
composer install --no-dev --optimize-autoloader
pnpm -C public/assets installYou need to copy or rename the .env.php.example to .env.php in src/Config before starting this application.
cp -pR src/Config/.env.php.example src/Config/.env.phpNow, you can start the application :
php -S localhost:8000 -t public/Don't forget to setup your mailer DSN informations in the .env.php You can also use MailCatcher if you are on dev environment and test the full application. If you don't know how to install it, here's the How-To :
sudo apt-get update && sudo apt-get install -yqq build-essential software-properties-common libsqlite3-dev ruby-dev
gem install mailcatcher
mailcatcherThen, you can browse to http://127.0.0.1:1080/ and start catching emails.
If you want to rebuild the sqlite database, you need to do the following :
sqlite3 var/database.db < var/db_dump.sqlNOTE: all accounts passwords are pass1234
👤 Thomas Chauveau
Give a ⭐️ if this project helped you!
This README was generated with ❤️ by readme-md-generator