Skip to content

Commit

Permalink
first commit
Browse files Browse the repository at this point in the history
  • Loading branch information
root committed Apr 27, 2020
1 parent 2097b2f commit e2a2798
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Potoo

## How to use potoo

1. `git clone https://github.com/benasse/potoo.git`
2. `cd potoo`
3. `python3 -m venv venv`
4. `source venv/bin/activate`
5. `pip install -r requirements.txt`
6. `flask run`
3 changes: 3 additions & 0 deletions app.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
from app import app

app.run()
5 changes: 5 additions & 0 deletions app/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
from flask import Flask

app = Flask(__name__)

from app import routes
6 changes: 6 additions & 0 deletions app/routes.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
from app import app

@app.route("/")
@app.route("/index")
def index():
return "Index page"
Empty file added requirements.txt
Empty file.

0 comments on commit e2a2798

Please sign in to comment.