Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update packages and write a README file. #3

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
## Build and run

For Ubuntu with virtual envs:
1. Install python3 with pip
- `sudo apt install python3 python3-pip`
2. Create virtual environment
- `python3 -m vevn venv`
3. Activate virtualenv
- `source venv/bin/activate`
4. Install packages
- `pip3 install -r requirements.txt`
5. Run main.py
- `python main.py`
6. Profit
4 changes: 1 addition & 3 deletions main.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
from flask import Flask
from flask import render_template
from flask import request
from flask import Flask, render_template, request
from flask_sqlalchemy import SQLAlchemy
from os import path
import json
Expand Down
7 changes: 4 additions & 3 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
Flask==0.11.1
Flask-SQLAlchemy==2.1
SQLAlchemy==1.1.4
Flask==1.0.2
Flask-SQLAlchemy==2.3.1
SQLAlchemy==1.2.12
Requests=2.20.0