Skip to content

carbonmap/ccm-back-end-django

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 

Repository files navigation

ccm-back-end-django

Setup

The first thing to do is to clone the repository:

git clone https://github.com/carbonmap/ccm-back-end-django.git
cd ccm-back-end-django

To create a virtual environment python has a built-in package venv (note that python3 is required):

python -m venv venv

to activate:

source venv/bin/activate

Switch to the project directory:

cd carbonmap_project/

Then install the dependencies (note that mysql must be installed for this to complete):

pip install -r requirements.txt

Copy the environment settings (you can use the default for local installation):

cp .env-sample .env

Perform database migration:

python manage.py migrate

Note that you need to create superuser:

python manage.py createsuperuser

Run your project locally.

python manage.py runserver

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages