Skip to content

Latest commit

 

History

History
37 lines (23 loc) · 1.07 KB

README.rst

File metadata and controls

37 lines (23 loc) · 1.07 KB

wlan slovenija main webpage

Development installation

  1. Clone from GitHub both webpage and nodewatcher repositories:

    git clone https://github.com/wlanslovenija/mainpage.git
    git clone https://github.com/wlanslovenija/nodewatcher.git
    

    You can also use SSH-based URLs or URLs of your forks.

  2. Create and activate new Python virtual environment:

    virtualenv --no-site-packages --distribute ~/.virtualenv/mainpage
    source ~/.virtualenv/mainpage/bin/activate
    
  3. Move to location where you cloned webpage repository and run devsetup script:

    python scripts/devsetup.py
    

    This script will install all requirements and import database dump to local database.

  4. Run:

    python manage.py runserver
    

    and start developing!

You can safely rerun the devsetup as needed, but be advised that local database content will NOT be preserved.