jrmann100 / troop59

An unofficial web server/site for BSA Troop 59 (Marin Council)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Troop59

A Flask web server/site for BSA Marin Council Troop 59.

Installation

Note: I've created an sh file with all the commands below listed, so you can just copy-paste the whole thing (DON'T: clone the repository and then run the script, as it does that for you), but I'd recommend just going step-by-step.

  1. Create and enter project folder
mkdir T59
cd T59
  1. Clone the repository
git clone https://github.com/jrmann100/troop59.git
  1. Create virtual enviroment (If you don't have pip, or Python at that, installed, you may be a lost cause.)
sudo pip install virtualenv
virtualenv env
  1. Activate virtual enviroment
source env/bin/activate
  1. Install Python dependencies
pip install -r troop59/requirements.txt
  1. Run web application!
python troop59/app.py

You can even do this in a Cloud9 Workspace, changing the last line of app.py from port=9001 to port=8080 and following the instructions at https://docs.c9.io/docs/run-an-application, and try out the project from there like in this example.

About

An unofficial web server/site for BSA Troop 59 (Marin Council)

License:MIT License


Languages

Language:HTML 68.1%Language:Python 14.4%Language:CSS 12.1%Language:JavaScript 3.2%Language:Shell 2.2%