A great kickoff to the MLH Production Engineering Fellowship!
Explore the repo »
View Demo
·
Report Bug
·
Request Feature
Table of Contents
In order to successfully run our webpage, you must follow these steps and adhere to the prerequisites. This will ensure you establish a correct running environment. For the sake of good practice, we recommend using a virtual environment and will thus be showing how to set that up in the following sub-sections!
- Bash
- Python 3.7 or later
- pip3 or pip
- Flask
To install pip3 run the following commands in your bash terminal:
- Update your system:
sudo apt-get update
- Pip3 install:
sudo apt-get -y install python3-pip
- Verify installation:
pip3 --version
- Install Flask:
pip3 install Flask
setuptools
andwheel
install:
python3.8 -m pip install --upgrade setuptools
pip3 install wheel
- Set up the virtual environment:
python3.8 -m venv ~/.venvs/pysa
- Activate virtual environment for Pysa:
source ~/.venvs/pysa/bin/activate
From there you should see a (pysa) indicator appear in your shell. If this does not appear, please retrace your steps.
- Install dependencies
ls ~/.venvs/pysa/lib/python3.8/site-packages
- Install Pyre and SAPP in the virtual environment
pip install pyre-check fb-sapp
- Create Pyre configuration file in the root directory which Pysa runs on
cd /path/to/your/repo
pyre init
Now you should be able to see .pyre_configuration
file in the root directory
- Add type annotations automatically to your project
pyre infer -i
- Run Pysa
pyre analyze --no-verify --save-results-to ./pysa-runs
- Run SAAP
sapp analyze ./pysa-runs/taint-output.json
sapp server # web UI
From here your environment should be ready to go! Congrats 🎊
To run the app you have to follow the next commandlines:
git clone [email protected]:S4ND1X/oh_team2.git
cd oh_team2
pip3 install virtualenv
virtualenv env
source env/bin/activate
pip3 install -r requirements.txt
python wsgi.py
This team is composed of 3 members. Below are their Github and LinkedIn accounts.
LICENSE