this is a simple task app built to learn/test Laravel/VueJS
03/07/2018: create a sample application from the tutorials found at (with some modifications):
https://medium.com/@shakyShane/laravel-docker-part-1-setup-for-development-e3daaefaf3c
https://felicianoprochera.com/simple-task-app-with-laravel-5-3-and-vuejs/
https://medium.com/@connorleech/build-a-task-list-with-laravel-5-4-and-vue-2-9be0bba06801
how to use:
- copy taskapp/.env.example to taskapp/.env
- build and start the environment by executing
docker compose up
.
First run will take a few minutes as it will pull teh container images from dockerhub - execute
docker-compose exec app php artisan key:generate
to set the application key - execute
npm install
to install dependencies such as vuejs, gulp, and bootstrap - execute
docker-compose exec app php artisan migrate
to create db schema - execute
npm run dev
to compile js and css assets - navigate to
https://localhost:8090
in your browser. You should see the task app