Skip to content

Latest commit

 

History

History
34 lines (17 loc) · 1.07 KB

README.md

File metadata and controls

34 lines (17 loc) · 1.07 KB

Django Backend for CaaS

To run this project in your development machine, follow these steps:

  1. (optional) Create and activate a virtualenv (you may want to use virtualenvwrapper).

  2. Fork this repo and clone your fork:

    git clone https://github.com/jpatel0/caas-backend.git

  3. Install dependencies:

    pip install -r requirements.txt

  4. Install mysql server and create a database with name nervaidb(or give any other name)

  5. Change field values like user,db name(same name as in above step), password, port,etc in main_site/settings.py

  6. Finally run these commands to sync your models with database:

    python manage.py makemigrations user userpanel

    python manage.py migrate

  7. Inserting initial data of userpanel_language table in nervaidb database:

    python manage.py loaddata Language.json

  8. If everything is alright, you should be able to start the Django development server:

    python manage.py runserver

  9. Open your browser and go to http://127.0.0.1:8000