Skip to content

matthibbs7/DEMOGORGN-web

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

77 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DEMOGORGN-web

Dev Onboarding

  1. Create Virtual Environment
python3 -m venv venv
  1. Activate the virtual environment
source ./venv/bin/activate
  1. Install Python3 dependencies:
pip3 install -r requirements_sgs_parallelization.txt

Setup Dev Environment

There are 2 steps required to get the website setup on your local environment (start the frontend and backend servers):

  1. In Project Root start Django (backend) server: DEV_MODE=TRUE python3 manage.py runserver . This will start django on port 8000. Take note of the DEV_MODE=TRUE env variable being set as part of the command.
  2. Go into the frontend directory (ie: cd frontend)
  3. Install any dependencies that may be missing: npm install
  4. Run this command: npm run start . This will server up static files on port 3000 and proxy requests sent to /api/* to django at port 8000
  5. Project is available at http://localhost:3000 from the browser.

Further Project Documentation

About

Web Application for Generating Realizations of Greenland Subglacial Topography

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •