Skip to content
/ scc-api Public
forked from vajda-lab/scc-api

RESTful API for high performance computing centers

Notifications You must be signed in to change notification settings

eng-it/scc-api

 
 

Repository files navigation

Read Me

Build Status

Docker Setup

Our Docker containers expect the existence of an environment file. To generate it on *nix systems please invoke the build_docker_env.sh script.

./build_docker_env.sh

To run the Docker containers use the command below.

$ docker-compose up

If you wish to run the servers in the background use the -d (detached) flag, as demonstrated below.

$ docker-compose up -d

To turn off the server use Control-C in the terminal window. If running in the background use the command below.

$ docker-compose down

To remove all of the assets created by Docker to run the server use the command below. The --volumes flag may be shortened to -v. NOTE The command below will also remove the database, thus removing any records or users created. This includes the superuser.

$ docker-compose down --volumes --rmi local

To create a superuser use:

$ docker-compose run --rm django python manage.py createsuperuser

To run the tests in Docker use:

# from root of project
$ docker-compose run --rm django pytest

About

RESTful API for high performance computing centers

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 82.3%
  • HTML 10.9%
  • Just 2.8%
  • Shell 2.2%
  • Dockerfile 1.6%
  • JavaScript 0.2%