Reuse WAVES inside a Django project as a dependency


!!! WORK IN PROGRESS !!! Planned to be available with version 1.0

  1. WAVES needs to be installed within a django project, see Django framework documentation if needed.

  2. Install waves package with pip (strongly recommended to do so in a dedicated virtualenv):

    pip install waves

  3. Add “waves” to your INSTALLED_APPS settings:

  4. Include the services urls in your project

    url('^waves/', include('waves.urls'))
    Alternativly you can use only urls configuration you need::
    url(r'^$', HomePage.as_view(), name='home'),
    url(r'^accounts/', include('waves.urls.accounts_url')),
    url(r'^waves/api/', include('waves.urls.api_urls')),
    url(r'^admin/', include('waves.urls.back_urls')),
    url(r'^waves/', include('waves.urls.front_urls'))
  5. Run python migrate to install database models.

  6. Run python waves to import sample data if you wish

  7. Start the development server, python runserver:

    visit to start your services