Skip to content

nika-jashi/Me-On

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Django Project Me-On

set up environment for project

  • python3.8 -m venv env
  • source env/bin/activate
  • pip install -r requirements.txt


  • To Run Migrations Use Commands Below

  • python manage.py makemigrations
  • python manage.py migrate

  • to run server locally Use command below

  • python manage.py runserver
  • to run server With Docker Use command below

  • sudo docker build -t [name:tag] .
  • -t: name and a tag of image
  • '.': (current directory) should input location of Dockerfile
  • sudo docker run -d -it -p [docker port:outside port] [name:tag]
  • -d: detache mode of a container
  • -p: port to publish

  • About

    No description, website, or topics provided.

    Resources

    Stars

    Watchers

    Forks

    Releases

    No releases published

    Packages

    No packages published