Skip to content

How to add an app to the Devilry repo

Espen Angell Kristiansen edited this page May 12, 2015 · 7 revisions

WARNING: This page is outdated

Set up an app in the src/ directory

  1. Create an app by copying src/devilry_exampleapp/

  2. Add the app to development-base.cfg:

     [sources]
     ...
     myapp = fs myapp
    
  3. Add the app to INSTALLED_APPS in src/devilry_developer/devilry_developer/settings/base.py.

  4. Add a simple view (views.py).

  5. Add a url config (urls.py) to your app.

  6. Add your urls to src/devilry_developer/devilry_developer/dev_urls.py:

     ...
     url(r'^myapp/', include('myapp.urls')),
     ...
    

Move your app to an external GIT repo

  1. Move the contents of src/myapp/ into the root of a new Git repo.

  2. Change the [sources]-definition from step 2 above to something like:

     [sources]
     ...
     myapp = git git://example.com/git/some.package.git
    
Clone this wiki locally