Skip to content

Projet web avec application de docker comme infrastructure "serveless".

Notifications You must be signed in to change notification settings

aurelien-castel/ENSIIE-Juin-2021-Docker

Repository files navigation

ENSIIE Web Project Docker

Projet web avec application de docker comme infrastructure "serveless".

cf. Rapport de projet web - ENSIIE.pdf

Setup

Install your application

This tutorial will guide you through the installation procedure of the Web Project Skeleton.

The only packages you need to install right now are docker and docker-compose

Then, clone the Web Project skeleton on your machine:

  • git clone https://github.com/rparpa/ensiie-project.git
  • cd ensiie-project

The next step is to set some environment variables in the .env file

  • Open this Skeleton on your favorite IDE : PHPStorm or VSCode.
  • Open the file .env
    • DOCKER_USER_ID: to obtain the value of this variable you need to execute this command $(echo id -u $USER) on a Terminal. Copy and past the output.
    • REMOTE_HOST: For those who want to use the PHPStorm Debugger, put your IP address. Otherwise, skip this step.

Now, let's begin the installation :

  • make install. This command may take time.
  • That's it! Your website is running http:localhost:8080

Below are some useful commands :

  • make stop Stop the containers
  • make start Start the containers
  • make db.connect Connect to th database
  • make phpunit.run Run the PHPUnit tests
  • make install Reinstall all containers

About

Projet web avec application de docker comme infrastructure "serveless".

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published