Skip to content

Portal for the Galactic Chemical Evolution (GCE) project

License

Notifications You must be signed in to change notification settings

bcote-anl/gce-portal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gce-portal

An ACDC portal for the galactic chemical evolution (GCE) project. The search index points to datasets generated by the interactive astronomy data service prototype.

Development

Clone repository

git clone https://github.com/bcote-anl/gce-portal.git

Create your environment and install packages:

cd gce-portal/
python -m venv venv
source venv/bin/activate
pip install -r requirements.txt

Install ACDC tools to re-use existing javascript functions.

git clone https://github.com/globusonline/django-alcf-data-portal.git
cd django-alcf-data-portal/
python setup.py develop

Once you have the alcf-data-portal application installed, perform the Django migration.

cd ../
python manage.py migrate

Add your Globus client details in testing/settings.py.

SOCIAL_AUTH_GLOBUS_KEY = 'your_client_ID_here'
SOCIAL_AUTH_GLOBUS_SECRET = 'your_client_secret_here'

Run the portal with the following command. Make sure your localhost port matches the redirect URL of your Globus client (see instructions here).

python manage.py runserver localhost:8000

About

Portal for the Galactic Chemical Evolution (GCE) project

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published