|
1 | | -Source code of the tutorial[thecodingmachine.io/building-a-single-page-application-with-symfony-4-and-vuejs](https://thecodingmachine.io/building-a-single-page-application-with-symfony-4-and-vuejs). |
| 1 | +Source code of the tutorial[thecodingmachine.io/building-a-single-page-application-with-symfony-4-and-vuejs](https://thecodingmachine.io/building-a-single-page-application-with-symfony-4-and-vuejs). |
| 2 | + |
| 3 | +#Quick start |
| 4 | + |
| 5 | +If you want to try out the project just follow these steps. |
| 6 | + |
| 7 | +###Start containers / project |
| 8 | +`docker-compose up` |
| 9 | + |
| 10 | +###Enter in your app container |
| 11 | +`docker-compose exec app /bin/bash` |
| 12 | + |
| 13 | +###Install vendor |
| 14 | +`composer install` |
| 15 | + |
| 16 | +###Install node modules |
| 17 | +`npm install` |
| 18 | + |
| 19 | +###Generate manifest |
| 20 | +`yarn dev` |
| 21 | + |
| 22 | +###Generate database |
| 23 | +`php bin/console doctrine:migration:migrate` |
| 24 | + |
| 25 | +###Load fixtures |
| 26 | +`php bin/console doctrine:fixtures:load` |
| 27 | + |
| 28 | +###Access |
| 29 | +App: app.localhost (login: foo / pass: bar) |
| 30 | + |
| 31 | +phpMyAdmin: phpadmin.app.localhost |
| 32 | + |