Skip to content

cedadev/jasmin-manage

Repository files navigation

jasmin-manage

API for managing project resources on JASMIN.

Setting up a development environment

jasmin-manage requires at least Python 3.8, so you must first ensure a suitable Python version is installed.

First, check out the code:

git clone https://github.com/cedadev/jasmin-manage.git
cd jasmin-manage

Create and activate a new virtual environment and install:

python -m venv ./venv
source ./venv/bin/activate
pip install -e .

Install the local settings:

cp jasmin_manage_site/settings.py-local jasmin_manage_site/settings.py

Apply the migrations (this will create an SQLite database in the same directory as the code):

python manage.py migrate

Create a superuser to access the admin interface:

python manage.py createsuperuser

Then run the development server:

python manage.py runserver

The admin interface will then be available at http://localhost:8000/admin and the API will be available at http://localhost:8000/api (you must authenticate via the admin).

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages