hammad93 / hurricane-deploy

This creates email reports and hosts the REST API. The reports have tropical storm and hurricane forecasts from the hurricane-net model. The deployment repository for a hurricane forecasting system based on machine learning and deep learning methods.
MIT License
1 stars 0 forks source link

Create run.sh startup script for local environment #10

Open hammad93 opened 1 year ago

hammad93 commented 1 year ago
  1. Get credentials.csv and put it into the docker folder
  2. Go to config.py and change the credentials_dir value to docker/credentials.csv
  3. Run wget https://raw.githubusercontent.com/hammad93/hurricane-net/main/hurricane_net_chatgpt.py
  4. Run python run.py to pull up API in Github Codespaces.
  5. Add /docs to the end of the URL to get to API documentation.
hammad93 commented 1 year ago
@app.get('/live-storms-2')
def live_storms_2():
    return requests.get('http://fluids.ai:1337/live-storms').json()
hammad93 commented 5 months ago

What are secure ways to get the credentials or keys locally?