Skip to content

Repository files navigation

Command help

  • create a new project django-admin startproject <name> ., the point is too add the repertory in the directory where your are
  • create a new app python manage.py startapp <name>
  • activate the env source venv/bin/activate
  • deactivate the env deacivate
  • launch server python manage.py runserver
  • create migration python manage.py makemigrations
  • run migration python manage.py migrate
  • rollback a migration python manage.py migrate nom_de_votre_app version_num_to_go
  • create an isolate env to work python3 -m venv mon_env
  • activate the isolate env source venv/bin/activate
  • deactivate the isolate env deactivate

Step to run the project in local

Clone the repository

You will need to get the repository from github, so according to your strategy (https or ssh) clone the repository help by the command git clone <path of the repo>

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages