Skip to content

A Flask web application for interacting with gyro-kinetic fusion simulation data hosted at the National Energy Research Scientific Computing Center (NERSC)

Notifications You must be signed in to change notification settings

foci/MGKDB-Web

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MGKDB Web

Some instructions for myself at this point in the dev process

To run the app navigate to top level directory and run

docker-compose up

In order for the App container to connect to the remote DB an ssh tunnel has to be established. Once the container is up, access it via

docker exec -it app /bin/bash

Secure a 24 hour ssh key by running

./sshproxy -u gsalazar

Map local port 27017 to remote db by running

```ssh -4 -i .ssh/nersc -f gsalazar@cori.nersc.gov -L 27017:mongodb03.nersc.gov:27017 -N````

Ensure this is the port being used in the MONGO_URL variable stored in the .env file.

About

A Flask web application for interacting with gyro-kinetic fusion simulation data hosted at the National Energy Research Scientific Computing Center (NERSC)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 96.8%
  • JavaScript 1.1%
  • C 1.0%
  • C++ 0.7%
  • HTML 0.3%
  • Mako 0.1%