Skip to content

curanetwork/cnbounty

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ICO Bounty

API server for Cura Network ICO Bounty.

Quickstart

Make sure you have pipenv installed. Then install Django 2.0 or later in your virtualenv:

pip install django>=2.0

Clone this repo

git clone https://github.com/curanetwork/cnbounty.git

cd to ico-bounty-api and install the development dependencies

pipenv install --dev

If you need a database, edit the settings and create one with

pipenv run python manage.py migrate

Once everything it's setup you can run the development server: http://localhost:8000/

pipenv run python manage.py runserver

Settings are divided by environments: production.py, development.py and testing.py. By default it uses development.py, if you want to change the environment set a environment variable:

export DJANGO_SETTINGS_MODULE="bounty.settings.production"

or you can use the settings param with runserver:

pipenv run python manage.py runserver --settings=bounty.settings.production

If you need to add some settings that are specific for your machine, copy the contents of file local_example.py to new file local_settings.py. This file it's in .gitignore so the changes won't be tracked.

About

Cura Network ICO bounty program

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages