-
Clone the repo
$ git clone https://github.com/identifier-services/Identifier-Services-Portal $ cd Identifier-Services-Portal
-
Configure environment variables
Make a copy of ids.env.sample and rename it to
ids.env
. Configure variables as necessary.Required environment variables:
- AGAVE_CLIENT_KEY
- AGAVE_CLIENT_SECRET
- AGAVE_SUPER_TOKEN
Optional:
- AGAVE_TENANT_BASEURL (default: https://agave.iplantc.org/)
- DJANGO_DEBUG (default: False)
-
Installing
Install requirements: (Would suggest doing this in a virtual environment)
$ pip install -r requirements.txt
-
Migrating
Run migrations:
$ python manage.py migrate
-
From project directory (same directory as manage.py):
$ source ids.env $ python manage.py runserver
-
Open in browser
Navigate to http://localhost:8000 in your browser.
$ pip install -r requirements.txt
$ npm install -g bower
$ npm install
$ bower install