Backend of affordable solution that combines traffic and quantitative data to the advertiser through a crowd-sourcing click to view reward model
# Create virtual environment
# https://virtualenvwrapper.readthedocs.io/en/latest/
mkvirtualenv -p python3.6 -a . crowdclick
# Install dependencies
pip install -r requirements.txt
# (Optional) local settings
cat crowdclick/settings/example.env > crowdclick/settings/.env
cat crowdclick/settings/local_optional_example.py > crowdclick/settings/local_optional.py
# Run migrations
python manage.py migrate
# Load initial data
python manage.py loaddata ad_source/fixtures/*
# Run server
python manage.py runserver 0.0.0.0:8000
You should see API endpoints on http://localhost:8000/api/
# Run tests
python manage.py test
# Flake8
pip install flake8 && flake8 .
Contributions are welcome. Be sure to check our Code of conduct