Made by Dylan Tavarès with ❤️
Requirements:
Pre-config :
You must define your environement in project root .env
and backend/.env
files to configure docker containers.
➤ From root directory
docker-compose up -d
ℹ️ use this command to re-build containers if you had edit them
docker-compose up -d --build
Default ports :
localhost:8080
localhost:8085
localhost: 31730
localhost:5000
➤ Stop containers
docker-compose down
Requirements:
Pre-config :
You must define your environement in backend/.env
file to make backend work.
Frontend VueJs :
➤ From root directory go in frontend directory
cd ICG/frontend/
➤ Install dependencies
npm install
➤ Run dev server with hotreload
npm run serve
Backend Django :
➤ Go in backend directory from root directory
cd ICG/backend/
➤ Create virtual environement
python3 -m venv venv
➤ Source venv
source ./venv/bin/activate
➤ Install python packages
pip install -r requirements.txt
➤ Run django migrations
python3 manage.py migrate
➤ Run dev server
python3 manage.py runserver <PORT>
Documentation Mkdocs :
➤ Go in docs directory from root directory
cd CGI/docs/
➤ Run server
mkdocs serve