rehaB
Uncommon Hacks 2020!
Team Members: David Bukowski :confounded:, Jackie Lee :horse_racing:, Alex Sheen :runner:, Maggie Zhao :rice_ball:
How to Run
Clone this repo into your folder of choice
$ git clone git@github.com:mzhao3/rehaB.gitNow open your folder
$ cd rehaBActivate your virtual environment and upgrade
pip
Need a virtual environment? Follow the instructions below$ . path/to/venv/bin/activate # for Linux / OS $ source path/to/venv/Scripts/activate # for Windows (venv) $ pip install --upgrade pipInstall the dependencies with requirements.txt by running the following command
It includes Flask, Wheel, the stuff we use to keep your password safe, render your graphs, and all that other good stuff!!(venv) $ pip install -r requirements.txtNow you can run the python file (starting the Flask server)
(venv) $ python app.pyNow type one of these into your browser of choice and start using Ambrosia!
or copy and pastehttp://127.0.0.1:5000/ http://localhost:5000/
Dependencies
Install the dependencies with requirements.txt by running the following command
(venv) $ pip install -r requirements.txt
venv
venvis used to create an isolated environment for whatever version of Python (and whatever libraries you're installing) you're using to wreak havoc in.venvallows you to use different versions of Python so you don't need to worry about compatibility issues or somehow breaking your computer.
venvis a standard Python library in Python 3 with no further action required. Run the following to make a virtual environment if you do not already have one:$ python3 -m venv venv_nameFor versions older than Python 3.0.0 run the following:
$ pip install virtualenv $ virtualenv venv_namepip
pipis used to install and manage Python packages. Usually comes installed with Python, check out this page for instructions if you find that further action is required. Remember to upgrade!(venv) $ pip install --upgrade pipos
osis used for miscellaneous operating system dependent functions. A standard Python library with no further action required.flask
flaskallows the app to be run onlocalhost, needswheel. Installed with requirements.txt(venv) $ pip3 install flaskpyphen
pyphenis used to count the syllables of words through hyphenation. Installed with requirements.txt(venv) $ pip3 install pyphenwheel
wheelis needed to useflask. Installed with requirements.txt(venv) $ pip3 install wheelJinja2
Jinja2is used for templating HTML pages. Installed with requirements.txt, installed when you installflask
Log in or sign up for Devpost to join the conversation.