...
Setting up a local/development NOCLook
Code Block |
---|
# Clone a convinienceconvenience repo $ git clone https://github.com/NORDUnet/norduni-developer $ cd norduni-developer # Start dependencies $ ./start.sh # Clone NOCLook project repo $ git clone https://git.nordu.net/norduni.git $ cd norduni # Create a virtualenv and activate it $ virtualenv env $ . env/bin/activate # Install the python packages $ pip install -r /path_to_repo/requirements/dev.txt # Create a settings file $ cp /path_to_repo/src/niweb/dotenv /path_to/repo/src/niweb/.devenv # Sync the db $ python /path_to_repo/src/niweb/manage.py syncdb $ python /path_to_repo/src/niweb/manage.py migrate apps.noclook $ python /path_to_repo/src/niweb/manage.py migrate actstream $ python /path_to_repo/src/niweb/manage.py migrate tastypie # Run the app $ python /path_to_repo/src/niweb/manage.py runserver |