Skip to content

NgoQuocBao1010/HB-Services

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SERVERS GUIDE

Requirements

  • Docker

Setup

  1. Create an .env file in the ./users_sv folder. You can use the provided ./users_sv/.env.example as a template.

  2. Run Docker Compose.

docker-compose up -d

This will create two containers:

  • django_sv running Django on port 8000
  • nodejs_sv running Node.js on port 9000

Usage

Optional:

  • Load default Products into Django:
docker exec -it django_sv python manage.py loaddata default_products.json
  • Create a superuser for Django:
docker exec -it django_sv python manage.py createsuperuser

Sign in with the superuser credentials to perform CRUD operations on "Products".

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published