diff --git a/DEVELOPMENT.md b/DEVELOPMENT.md index 8eb61bf..042df39 100644 --- a/DEVELOPMENT.md +++ b/DEVELOPMENT.md @@ -36,9 +36,14 @@ cd plant-exchange ``` docker-compose up -d ``` -To create the database: +To create the database (or use pgadmin): ``` -docker exec ... #TODO +docker exec -it plant-exchange_db_1 psql -U postgres -c 'CREATE DATABASE plantex;' +``` + +and migrate +``` +symfony console doctrine:migrations:migrate -n ``` ### 4. Install dependencies @@ -52,10 +57,10 @@ yarn install ### 5. Start the development server ``` -symonfy serve --port 8080 --no-tls -d +symfony serve --port 8080 --no-tls -d ``` -You sholud be able to access the site under +You sholud be able to access the site under [localhost:8080](http://localhost:8080) ### 6. Watch files If you are editing `.scss` or other webpack files, you'll want to run @@ -67,4 +72,4 @@ yarn watch Thats it for now, you can start developing! -If you have any questions, ask [thisfro](https://git.thisfro.ch/thisfro)! \ No newline at end of file +If you have any questions, ask [thisfro](https://git.thisfro.ch/thisfro) or creat an issue! \ No newline at end of file