Skip to content

raajitr/spot-fleet-request

Repository files navigation

Spot Fleet Request

Web app created with Flask to monitor and launch spot fleet request and also to monitor those responses.
This was a part of tasks provided by a company.

Database: MongoDB hosted on mLabs.com
Frontend: basic Bootstrap and Jinja2 Templating

Hosted at: spot-fleet-request.herokuapp.com/

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

What things you need to install the software and how to install them

  • Python 2.7.11
  • MongoDB (installed or hosted)

Installing

git clone https://github.com/raajitr/spot-fleet-request.git
cd spot-fleet-request/

Preferably start a virtual environment

pip install -r requirements.txt

Create environment variables

export SECRET_KEY=anysecretkey
export MONGO_DBNAME=mongodbname
export MONGO_URI=mongodburi

Start

export FLASK_APP=main.py
flask run

Or

python main.py

Acknowledgement

About

Flask web app to monitor and launch spot fleet request

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published