Skip to content

fabcode82/ordermanager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ILIAD ORDER MANAGEMENT

Project Setup

To prepare the env from the root folder in the terminal digit th docker compose command

docker compose up --build

Backend tests

To run backend test once containers are up from a second terminal enter the djbackend container and use django command to execute tests

docker compose up --build
docker compose exec djbackend sh
python manage.py test

DB: if db.sqlite3 should be deleted, to rebuild db and exec migrations

The project contains a sqlite3 db already populated with samples, if the sqlite3 file is missing or deleted, to rebuild the db once the backend container is up enter via terminal and run the migrate command

docker compose up --build
docker compose exec djbackend sh
python manage.py migrate

Frontend APP: to start FE service env and to see realtime changes on pages

To edit vue app and see realtime chages once the backend container is up form the FE directory you can launch development server through the following commands

docker compose up --build

open a second terminal and exec following commands

CD FE
npm install
npm run build

OPEN BROWSER ON ADDRESS http://localhost:5173/

About

ordermanager

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors