ATC Profile Storage is a Django app that allows to store predefined ATC profiles in DB.
ATC Profile Storage
depends on ATC API
so make sure you have installed and configured ATC API first.
The easiest way to install django-atc-profile-storage
is to install it directly from pip.
pip install django-atc-profile-storage
cd path/to/django-atc-profile-storage
pip install .
- Add
atc_profile_storage
to yourINSTALLED_APPS
'settings.py
like this:
INSTALLED_APPS = (
...
'atc_profile_storage',
'rest_framework',
)
- Include the
atc_profile_storage
URLconf in your projecturls.py
like this:
...
url(r'^api/v1/profiles/', include('atc_profile_storage.urls')),
...
- Migrate the Django DB:
python manage.py migrate
- Start the development server
python manage.py runserver 0.0.0.0:8000