Skip to content

jalilbengoufa/cynergie-portail

Repository files navigation

cynergie-portail (not update to date please use this repo cynegie)

Using Laravel 5.6 , Vuejs and docker to deploy

This project reassemble

  • Cynergie website
  • Cynergie portail
  • Cynergie data api

Deployment

  • Change laravel environment file name and add the production variables
mv .env.example .env
  • Build the laravel website image (takes time)
docker-compose build
  • run the containers by default the website is binded to localhost:8000
docker-compose up -d

Help

  • to run bash inside a docker container
docker exec -it cynergieportail bash
  • to run a command in the container ; laravel exemple:
docker-compose exec cynergieportail php artisan list
  • to run a migration for database ; laravel example:
docker-compose run laravel php artisan migrate