-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
116 changed files
with
2,856 additions
and
3,238 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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
[run] | ||
include = | ||
scripts/*.py | ||
tests/*.py | ||
www/*.py | ||
|
||
[report] | ||
exclude_lines = | ||
pragma: no cover | ||
if __name__ == '__main__': |
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 |
---|---|---|
@@ -1,22 +1,25 @@ | ||
[uwsgi] | ||
master = true | ||
workers = 2 | ||
harakiri = 60 | ||
max-requests = 100 | ||
socket = 127.0.0.1:5004 | ||
|
||
virtualenv = /home/ubuntu/.virtualenvs/realestate | ||
chdir = /home/ubuntu/realestate | ||
for-readline = /home/ubuntu/.virtualenvs/realestate/bin/postactivate | ||
env = %(_) | ||
endfor = | ||
endfor = | ||
for-readline = /home/ubuntu/.virtualenvs/postactivate | ||
env = %(_) | ||
endfor = | ||
wsgi-file = realestate/app.py | ||
endfor = | ||
wsgi-file = www/app.py | ||
callable = app | ||
touch-reload = /home/ubuntu/realestate/realestate/app.py | ||
socket = 127.0.0.1:5004 | ||
touch-reload = /home/ubuntu/realestate/www/app.py | ||
logto = /var/log/uwsgi/realestate.log | ||
log-maxsize = 10500000 | ||
uid = ubuntu | ||
gid = ubuntu | ||
die-on-term | ||
catch-exceptions | ||
workers = 2 | ||
harakiri = 120 | ||
max-requests = 200 | ||
master | ||
die-on-term = true | ||
catch-exceptions = true | ||
vacuum = true |
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,3 @@ | ||
# Real estate | ||
*/5 * * * * cd /home/ubuntu/realestate && git fetch origin master && git reset --hard FETCH_HEAD # Sync with GitHub master branch | ||
0 3 * * * /home/ubuntu/realestate/scripts/main.sh # Scrapes and builds yesterday's sales |
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,16 @@ | ||
.. _contracts: | ||
|
||
Contracts | ||
========= | ||
|
||
.. automodule:: contracts.app | ||
:members: | ||
|
||
.. automodule:: contracts.db | ||
:members: | ||
|
||
.. automodule:: contracts.models | ||
:members: | ||
|
||
.. automodule:: contracts.views | ||
:members: |
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.
Oops, something went wrong.