-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
README.md edited online with Bitbucket :up: Update readme's python version
- Loading branch information
mijdavis2
committed
Apr 25, 2016
1 parent
2e07328
commit 40d2d71
Showing
29 changed files
with
111 additions
and
108 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
[run] | ||
omit = my_weppy_app/cli.py,my_weppy_app/dev_utils.py | ||
omit = starter_weppy/cli.py,starter_weppy/dev_utils.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,3 @@ | ||
FROM ubuntu:latest | ||
MAINTAINER Michael J Davis "[email protected]" | ||
RUN apt-get update -y | ||
RUN apt-get install -y python-pip python-dev build-essential | ||
COPY . /app | ||
WORKDIR /app | ||
RUN pip install -r requirements.txt | ||
ENTRYPOINT ["python"] | ||
CMD ["run.py"] | ||
FROM python:3.5-onbuild | ||
EXPOSE 8000 | ||
CMD ["python3", "./run.py"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
argparse==1.4.0 | ||
coverage==4.0.3 | ||
pytest-cov==2.2.1 | ||
weppy-BS3==0.4 | ||
wsgiref==0.1.2 | ||
pytest==2.9.1 | ||
weppy==0.6.4 | ||
weppy-Haml==0.3 | ||
weppy-Assets==0.3.1 | ||
wheel==0.29.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
""" | ||
Usage: weppy --app=starter_weppy <command> | ||
Example: weppy --app=starter_weppy shell | ||
""" | ||
from starter_weppy import app | ||
|
||
|
||
@app.cli.command('routes') | ||
def print_routing(): | ||
print(app.route.routes_out) | ||
|
||
|
||
@app.cli.command('get_users') | ||
def print_users(): | ||
from starter_weppy import db | ||
from starter_weppy.models.user import User | ||
rows = db(User.email).select() | ||
for row in rows: | ||
print(row) |
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
my_weppy_app/controllers/api.py → starter_weppy/controllers/api.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
my_weppy_app/templates/welcome.haml → starter_weppy/templates/welcome.haml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
- extend "layout.haml" | ||
|
||
.container | ||
%h1 Welcome to MyWeppyApp | ||
%h1 Welcome to StarterWeppy | ||
%p Let's build something cool. |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.