Skip to content

thanhchuong01/tmdt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Milk-tea website (Project E-commere)

How to run ?

  1. Clone project: https://github.com/thanhchuong01/tmdt.git
  2. Install Django framework
  3. Follow:
  • If use VSCode allow \venv\Scripts\activate
  • At milk_tea directory pip install -r requirements.txt or python -m pip install -r requirements.txt
  1. Config your database in file settings.py at DATABASE

I use Postgres, port 5432, local account

  1. Delete all file in migrations forlders
  2. Run the command: python manage.py makemigrations
    for check the change of database model
  3. Next python manage.py migrate
    it will install databse model into database management system setting.py
  4. Nextpython manage.py createsuperuser
    to create admin account of systems, you use that account to login on Admin side of Django
  5. Finally, run python manage.py runserver
    the server Django will run on localhost and auto open default Web brower, run project! =======

tmdt

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published