update development instructions
This commit is contained in:
		
							parent
							
								
									3faace6a2c
								
							
						
					
					
						commit
						857e98139c
					
				
					 1 changed files with 10 additions and 5 deletions
				
			
		|  | @ -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)! | ||||
| If you have any questions, ask [thisfro](https://git.thisfro.ch/thisfro) or creat an issue! | ||||
		Reference in a new issue