Skip to content

naeem-bebit/django-data

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

  1. Create virtualenv

    python -m venv env#name of the virtualenv
    env\Scripts\activate
  2. Create a new project

    • mlapps is the name of the project
    $ django-admin startproject mlapps .
  3. Run the server

    $ python3 manage.py runserver
    $ python manage.py makemigrations #Create models and run migrate
    $ python3 manage.py migrate
    • View it at https://localhost:8000/ or https://127.0.0.1:8000/
  4. Adding the apps to the src dir called authenticate

    $ python3 manage.py startapp authenticate
  5. Adding superuser(admin)

    $ python manage.py createsuperuser