TavaresDylan / ICG

ICG project is an AI to image recognition generator
https://tavaresdylan.github.io/ICG/Home
MIT License
1 stars 0 forks source link
artificial-intelligence django vuejs2

Made by Dylan Tavarès with ❤️

Full Documentation

Get started

With Docker 🐳

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 :

➤ Stop containers

docker-compose down

Without docker

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