Skip to content
This repository has been archived by the owner on Jun 22, 2021. It is now read-only.

Facebook share button #22

Open
wants to merge 982 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
982 commits
Select commit Hold shift + click to select a range
7a9c3b0
Finished first draft of 'Contributing Guidelines'
LironRS Nov 2, 2015
6e58b25
Fixed reported issues
LironRS Nov 2, 2015
73754d4
Minor fixes to contribution guidelines
danielhers Nov 3, 2015
ba3b86a
Added colors and clickability to filter string
LironRS Nov 4, 2015
46b5f79
Added case type in the advanced filter tab
LironRS Oct 12, 2015
b255df0
Applying the case type filter
omerxx Nov 9, 2015
6c724be
Fixed reported bugs
LironRS Nov 9, 2015
98fc718
Raised infoWindow by adding an offset when initiating (see 'clickMMar…
LironRS Nov 9, 2015
11c4a74
Merge pull request #482 from omerxx/typeFilterOption
danielhers Nov 10, 2015
daae423
Merge pull request #483 from LironRS/480-infowindow-height
danielhers Nov 10, 2015
2ed9ea6
Merge pull request #479 from LironRS/478-search-string-interactive
danielhers Nov 12, 2015
6ec80c7
Update CONTRIBUTING.md
avielg Nov 17, 2015
e0dbef8
Update CONTRIBUTING.md
avielg Nov 17, 2015
bc7f793
Fix PR #462 which is a fix for #430 - change downloaded csv name
omerxx Nov 20, 2015
cce68e1
Fix #466: compatibility with Flask-Login 0.3.2
danielhers Nov 20, 2015
22f16ea
Merge pull request #489 from omerxx/430-csv-name
danielhers Nov 20, 2015
18dcc0c
Update main.py
omerxx Nov 20, 2015
888252c
Remove fetchData (duplicate of fetchMarkers)
danielhers Nov 22, 2015
fbd1744
Gzip compressing app and assets using flask-compress
eladkarakuli Nov 23, 2015
d3c6772
Merge pull request #490 from eladkarakuli/487-gzip
danielhers Nov 23, 2015
2e79b82
only one scrollbar in info-window
HamutalCohen3 Nov 23, 2015
178d964
fix bounding box tests (#437)
mickeyil Nov 23, 2015
e8d8156
Merge pull request #491 from mickeyil/437-fix_bounding_box_test
danielhers Nov 23, 2015
07dd486
Restore running tests on Travis CI
danielhers Nov 23, 2015
ccc0352
Merge pull request #492 from HamutalCohen3/scroll-fix
danielhers Nov 23, 2015
a2a7ac1
Merge branch 'master' into dev
HamutalCohen3 Nov 23, 2015
262d819
Merge branch 'dev' of https://github.com/hasadna/anyway into dev
HamutalCohen3 Nov 23, 2015
6711f47
Add link to dataset documentation
danielhers Nov 24, 2015
9cb842c
#423 - fixed filter configuration on the share map link and "cleaned"…
aviklai Nov 24, 2015
dafcb4b
Merge branch 'dev' of https://github.com/hasadna/anyway into dev
HamutalCohen3 Nov 25, 2015
8da34d0
Labels in marker window dont change size on hover
HamutalCohen3 Nov 25, 2015
8030161
one scrollbar in result panel in sidebar
HamutalCohen3 Nov 25, 2015
a747cfc
Merge pull request #494 from aviklai/dev
danielhers Nov 25, 2015
c01a69c
#494 - fixed show_urban, show_intersection and show_lane parameters.
aviklai Nov 25, 2015
f983867
Merge pull request #495 from aviklai/dev
danielhers Nov 26, 2015
15fc499
Sidebar css of filter-panel more responsive
HamutalCohen3 Nov 27, 2015
4908369
Nicer padding in sidebar .btn-wrap.
HamutalCohen3 Nov 27, 2015
312a9d6
Sidebar fully responsive, and class separator added in filter panels
HamutalCohen3 Nov 27, 2015
27b6317
Merge branch 'dev' of https://github.com/hasadna/anyway into dev
HamutalCohen3 Nov 27, 2015
6f7cf84
Merge pull request #496 from HamutalCohen3/dev
danielhers Nov 28, 2015
c9c49e2
Fix test
danielhers Nov 28, 2015
a8a2f5b
Fix unit test
danielhers Nov 28, 2015
f6401f3
Fix unit test
danielhers Nov 28, 2015
86a3a74
fixed window height and weather-icon labels.
HamutalCohen3 Nov 30, 2015
6f3a0d7
Merge pull request #498 from HamutalCohen3/dev
danielhers Nov 30, 2015
5a99650
icon in sidebar
HamutalCohen3 Dec 1, 2015
bdbb21e
fixed #444 icons in sidebar well positioned
HamutalCohen3 Dec 2, 2015
5bf6d2f
Merge pull request #499 from HamutalCohen3/dev
danielhers Dec 2, 2015
32fb69e
sidebar icons positioned when icon type changes
HamutalCohen3 Dec 2, 2015
0658214
sidebar icons positioned when icon type changes
HamutalCohen3 Dec 2, 2015
3a5f145
Merge pull request #500 from HamutalCohen3/dev
danielhers Dec 3, 2015
74e235f
Hiding index login button
omerxx Dec 5, 2015
27438d5
Merge pull request #501 from omerxx/dev
danielhers Dec 5, 2015
0499a1b
Contributing file link to readme
omerxx Dec 7, 2015
3937682
Clarify installation instructions
danielhers Dec 8, 2015
2303a86
scrollbar in info window fixed, labels fully shown.
HamutalCohen3 Dec 8, 2015
9d467f4
Merge pull request #503 from HamutalCohen3/dev
danielhers Dec 8, 2015
e3614cb
Remove deprecated parameter "sensor" for Google Maps
danielhers Dec 8, 2015
05dffa3
Limit title field to 100 characters
danielhers Dec 10, 2015
b164f7c
Fix 506 - adding and open argument to expose flask
omerxx Dec 14, 2015
decd9ab
Merge pull request #507 from omerxx/506-expose-argument
danielhers Dec 14, 2015
357f993
Updating the readme with the new --open option
omerxx Dec 14, 2015
6091cef
Merge pull request #508 from omerxx/readme-update
danielhers Dec 14, 2015
06651d5
Readme update: changing initial git pull to dev
omerxx Dec 14, 2015
f95ed12
Merge pull request #510 from hasadna/readme-update-branch
danielhers Dec 14, 2015
a1d6497
Avoid "&" at the beginning of URL params
danielhers Dec 14, 2015
b521d71
#443 Fix gray area
Dec 14, 2015
7f082dc
Fix #509: discussion markers now shown on the map
danielhers Dec 14, 2015
3c77686
Merge pull request #511 from doronbrikman/dev
danielhers Dec 14, 2015
6947619
Set view for any marker type
danielhers Dec 16, 2015
5bdd6d6
Creditting United Hatzala in the About section
Dec 18, 2015
8d2f36e
Merge pull request #513 from omerxx/504-about-united
danielhers Dec 18, 2015
0be56d4
adding docker instructions and editting relevant section in the readme
Dec 18, 2015
f2ff1af
Merge pull request #514 from omerxx/anyway-docker
danielhers Dec 18, 2015
f67f88f
Update DOCKER.md
omerxx Dec 18, 2015
1c6f2a2
Update DOCKER.md
omerxx Dec 18, 2015
d130fc3
icons are shadowed when entry in sidebar is hovered
HamutalCohen3 Dec 7, 2015
787a1b8
Merge pull request #512 from HamutalCohen3/dev
danielhers Dec 20, 2015
f98cf57
Adding defaults to API filters, fixing #526 - android app shows no ma…
omerxx Dec 31, 2015
bdfe270
Merge pull request #531 from omerxx/526-android-markers
danielhers Jan 1, 2016
af0fe4b
Fix #532: update kwargs line in clusters()
danielhers Jan 4, 2016
2be0d6b
Update DOCKER.md
omerxx Jan 4, 2016
d92c3e8
fixed issue #533 by sorting lms directories list o reverse, casuing i…
adamhaber Jan 7, 2016
c68f4cb
Merge pull request #538 from adamhaber/dev
danielhers Jan 7, 2016
b6e13c3
#517 - added basic facebook login.
aviklai Jan 18, 2016
d7536d4
Merge pull request #541 from aviklai/dev
danielhers Jan 20, 2016
deca8a2
'ihud hatzala' background color by severity
nirbon Jan 29, 2016
c13d82f
Avoid https error when fetching stylesheet
danielhers Jan 29, 2016
d889bca
Merge pull request #546 from bonnanza/dev
danielhers Jan 29, 2016
77dc89e
Merge pull request #547 from hasadna/dev
danielhers Feb 1, 2016
9ba4329
#517 - added basic google login.
aviklai Feb 2, 2016
1cdf818
Merge pull request #549 from aviklai/dev
danielhers Feb 2, 2016
948063a
Separate migration for adding the provider column
danielhers Feb 2, 2016
0be572c
made a fix for issue #553 : https://github.com/hasadna/anyway/issues/553
siv123456 Feb 24, 2016
f6fa018
Merge pull request #560 from siv123456/dev
danielhers Feb 24, 2016
904e53e
Add file missing from 948063a
danielhers Feb 26, 2016
ebf3502
Merge branch 'dev'
danielhers Feb 26, 2016
7d9204e
#558 - Added basic user preferences. Next - need to add validation fo…
aviklai Mar 8, 2016
054a672
issue #529: Add a number and a color to the icon of multiple accidents
moriyasror Mar 7, 2016
9486823
Merge pull request #562 from aviklai/dev
danielhers Mar 8, 2016
ab84d1c
Merge pull request #561 from moriyasror/dev
danielhers Mar 14, 2016
34ee9b8
Add missing space before severity
danielhers Mar 16, 2016
363b1a1
Add PyCharm instructions to README.md
danielhers Apr 7, 2016
0f56e4c
small change in how google/facebook login button look.
siv123456 Apr 11, 2016
bdfbb51
Merge pull request #572 from siv123456/dev
danielhers Apr 12, 2016
0279b4b
Get IP and PORT from env to support c9
danielhers May 3, 2016
ac2649e
Update Python to 2.7.11
danielhers May 6, 2016
e8e9b85
#558 - Adjusted the preferences modal according to the mockup.
aviklai May 14, 2016
13ba368
Merge pull request #582 from aviklai/dev
danielhers May 15, 2016
97e36d7
Partial fix for #534: add weather data for new United accidents
efratpaty Mar 13, 2016
4d56044
Merge pull request #579 from efratpaty/dev
danielhers May 15, 2016
0520200
#558 - Added measurement unit (meters) for the radius in the preferen…
aviklai May 15, 2016
0606022
Merge pull request #584 from aviklai/dev
danielhers May 16, 2016
c492516
#558 - Added checkbox to disable the historical report.
aviklai May 16, 2016
377c04b
Fix #585: remove MEZEG_AVIR_UNITED from localization.py
danielhers May 17, 2016
58a88f2
Merge pull request #586 from aviklai/dev
danielhers May 17, 2016
55b878b
Set SQLALCHEMY_TRACK_MODIFICATIONS = True to avoid warnings
danielhers May 17, 2016
9636872
Test data loading on Travis
danielhers May 19, 2016
c74ccc5
Also test United data loading
danielhers May 19, 2016
1505153
Fix docker documentation
omerxx May 21, 2016
9b672ca
Adding dockerfile to the project
omerxx May 21, 2016
a73baf6
Merge pull request #590 from omerxx/589-docker-fixes
danielhers May 21, 2016
b088c3a
#591 replace print() with logging in some places
danielhers May 22, 2016
5f8dbd5
Fix errors in main.py
ephraimberkovitch May 23, 2016
70c81a6
add Dockerfile that deply anyway from local code base, that enable to…
May 23, 2016
1175742
remove /docker Dockerfile
May 24, 2016
53cc930
add docker-compose.yml
May 24, 2016
f7a8d1d
update readme file
May 24, 2016
8924598
Added c9 cloud development environment
simonaho May 25, 2016
92950b3
Fixed newlines and indentation
simonaho May 25, 2016
4b5dd97
Fix commands to be identified as such
simonaho May 25, 2016
76354dc
#595 - Fixed pedestrians hit filter not working correctly.
aviklai May 27, 2016
48af41f
Merge pull request #597 from aviklai/dev
danielhers May 27, 2016
685c803
#591 note in contribution guidelines about logging
danielhers May 28, 2016
9a030e0
Add link to HuBoard
danielhers May 28, 2016
1216246
More details about HuBoard
danielhers May 28, 2016
6fbdd7b
change docker-compose port to 80
Jun 4, 2016
89ef0e1
update readme file with port 80
Jun 5, 2016
3fd94eb
Remove test endpoint
ephraimberkovitch Jun 6, 2016
2967b9f
OperationError sqlite locking
ephraimberkovitch Jun 6, 2016
e252522
Replace specific exception by a generic SQLAlchemy exception
ephraimberkovitch Jun 6, 2016
1d795f2
Merge pull request #605 from ephraimberkovitch/dev
danielhers Jun 6, 2016
9f577c2
Fix handling of OperationalError in create_years_list
danielhers Jun 6, 2016
de70cda
Merge pull request #1 from hasadna/dev
ephraimberkovitch Jun 8, 2016
05ba8d4
Automate last 4 years in the new filter bar #424
AKorets Jun 11, 2016
f51f4cd
Merge branch 'dev' of https://github.com/AKorets/anyway into dev
danielhers Jun 11, 2016
31a6f88
Remove year ranges on the server as they are set on the client anyway
danielhers Jun 11, 2016
bf251fe
start working on #594 - hide the footer, as well, upon map_only setting.
ephraimberkovitch Jun 12, 2016
e0c7145
Fix years to be integers
danielhers Jun 12, 2016
ef72bb1
finish working on #594 - stretch the map on 100% of the screen
ephraimberkovitch Jun 12, 2016
5fbc5f3
Merge pull request #609 from ephraimberkovitch/dev
danielhers Jun 12, 2016
b81f263
#602 - Added full screen functionality to ANYWAY.
aviklai Jun 12, 2016
96a9cd3
Merge pull request #610 from aviklai/dev
danielhers Jun 13, 2016
0353d9c
Show buttons for last 10 years, not just 4
danielhers Jun 13, 2016
aba9651
hide all the helper buttons for embedded views
ephraimberkovitch Jun 13, 2016
cb32cc7
resolve conflicts with full screen functionality, recently added
ephraimberkovitch Jun 13, 2016
f543a40
#611 - Clicking the full screen button again exits full screen.
aviklai Jun 13, 2016
cc015d1
Merge pull request #613 from aviklai/dev
danielhers Jun 13, 2016
2d884aa
Merge pull request #2 from hasadna/dev
ephraimberkovitch Jun 14, 2016
faf563f
Merge branch 'dev'
ephraimberkovitch Jun 14, 2016
4c1ff8b
Merge pull request #3 from ephraimberkovitch/master
ephraimberkovitch Jun 14, 2016
2947d61
Merge pull request #612 from ephraimberkovitch/dev
danielhers Jun 14, 2016
7c0de96
hide the top white strip in map_only mode
ephraimberkovitch Jun 17, 2016
2cbfca2
Merge remote-tracking branch 'origin/dev' into dev
ephraimberkovitch Jun 17, 2016
ea1399e
Merge pull request #615 from ephraimberkovitch/dev
danielhers Jun 17, 2016
5c66b86
Share constants between client and server #447
AKorets Jun 24, 2016
f544827
advanced shared constants system
Jun 27, 2016
ae9b701
cleanup Constants class
Jun 27, 2016
803cba2
fix imports
Jun 27, 2016
9619193
fix "not in" (daniels view on pure python)
Jun 27, 2016
2c23630
Merge pull request #616 from AKorets/dev
danielhers Jun 27, 2016
c7a6316
Update end date to be today #592
AKorets Jul 5, 2016
76441c1
Merge pull request #618 from AKorets/dev
danielhers Jul 5, 2016
b67d80c
Adding HeatMap for markers and clusters.
OmerSchechter Jul 28, 2016
924c539
Merge pull request #620 from OmerSchechter/HeatMap1
danielhers Jul 28, 2016
4c7991b
Fixing a bug in the Sidebar. Related to the HeatMap.
OmerSchechter Jul 31, 2016
9d55fec
Merge pull request #622 from OmerSchechter/SidebarBug
danielhers Jul 31, 2016
040ee0b
#417 - preparing the backend for charts that contain vehicles and inv…
aviklai Aug 10, 2016
3dda7aa
Merge pull request #623 from aviklai/dev
danielhers Aug 10, 2016
8d22572
Disabling the dots/icons switch when the user is in ClusterMode or He…
OmerSchechter Aug 17, 2016
9f2c216
Merge pull request #624 from OmerSchechter/DisablingSwitch
danielhers Aug 17, 2016
1d36b0f
#417 - Added involved by age group chart.
aviklai Sep 1, 2016
06b625f
Merge pull request #625 from aviklai/dev
danielhers Sep 2, 2016
8f34e97
#417 - Added involved by age and sex chart + added an optimization fo…
aviklai Sep 2, 2016
a6cb4b9
Merge pull request #626 from aviklai/dev
danielhers Sep 2, 2016
20374db
Ad hoc fix for HeatMap overheating problem. A better, more efficient …
OmerSchechter Sep 13, 2016
53d680d
Merge pull request #627 from OmerSchechter/HeatMapDensityFix
danielhers Sep 13, 2016
6ecf3c7
fixes #567
alon-p Nov 2, 2016
c333ec1
Merge pull request #628 from alpalgy/master
danielhers Nov 2, 2016
96f7359
Merge pull request #629 from hasadna/master
danielhers Nov 2, 2016
f6f1713
Merge pull request #593 from orankaplan/local_docker
omerxx Nov 16, 2016
251b604
Add crontab for loading data from United
danielhers Nov 29, 2016
ecdab80
Update README.md
simonaho Dec 12, 2016
f01645b
Adjusted united.py script for the new data.
aviklai Dec 21, 2016
767b831
Merge pull request #634 from aviklai/dev
danielhers Dec 22, 2016
3b1b538
fixes #619
Jan 2, 2017
430c78c
Changed the styles of modal-header and the buttons inside it + upgrad…
Jan 3, 2017
d151cd4
removed code related to filter by specific-years
Jan 3, 2017
acc7a6c
Merge pull request #636 from voronovmax/fix-#619-Remove_years_filter_…
danielhers Jan 3, 2017
a018aa8
remove .DS_Store and add it to .gitignore Closes #638
szabgab Jan 5, 2017
bc78516
Merge pull request #639 from szabgab/638-ds
danielhers Jan 5, 2017
f0e7d60
copy content from Google docs https://docs.google.com/document/d/1xrY…
szabgab Jan 9, 2017
dba71e9
Merge pull request #644 from szabgab/docs
danielhers Jan 9, 2017
20f8a9a
add link to Slack channel
szabgab Jan 11, 2017
04dee87
Merge pull request #645 from szabgab/slack
danielhers Jan 11, 2017
674ba69
move documentation files to subfolder and link to them from README
szabgab Jan 11, 2017
d2b7eec
Merge pull request #648 from szabgab/docs
danielhers Jan 11, 2017
8d16da5
fixed logo image link in CONTRIBUTING file
OriHoch Jan 15, 2017
e8818d6
fixed logo image link in CONTRIBUTING
OriHoch Jan 15, 2017
9ff5d33
Merge pull request #651 from hasadna/OriHoch-fixed-logo-image-link-in…
danielhers Jan 15, 2017
c850364
first set of tests on top of Flask
szabgab Jan 18, 2017
188cde3
Merge pull request #656 from voronovmax/fix-#637-Change_css_styles_of…
danielhers Jan 23, 2017
3bfed73
Merge pull request #655 from szabgab/tests
danielhers Jan 23, 2017
f9de2d9
3 more tests: show only fatal/severe/light markers
ChaosPredictor Jan 23, 2017
15b7e40
Merge pull request #657 from ChaosPredictor/dev
danielhers Jan 25, 2017
c31efef
removed code from changeDate function in app.js
Jan 30, 2017
50a322f
test the returned content-type
szabgab Jan 30, 2017
698cf57
refactor the json creation to code to use the build-in jsonify function
szabgab Jan 30, 2017
90d5f66
2 new tests: /clusters and /markers/<int:marker_id> GET requests, doc…
ChaosPredictor Jan 30, 2017
87c02fe
Merge pull request #658 from voronovmax/fix-#635-Calendar_filter-choo…
danielhers Jan 30, 2017
2368e73
Merge pull request #659 from szabgab/refactor_json
danielhers Jan 30, 2017
1e0d101
No longer hosted on Heroku
danielhers Jan 31, 2017
2ee606f
Update Jerusalem meeting location
danielhers Jan 31, 2017
57dcef9
Documentation of code structure
danielhers Feb 4, 2017
9640b4c
No "unstable version" on Heroku any more
danielhers Feb 4, 2017
f5f24a9
Adjusted united.py to the new data format.
aviklai Feb 4, 2017
e70a1e7
Merge pull request #661 from aviklai/dev
danielhers Feb 4, 2017
5759134
Fix --newformat in united.py to avoid code duplication
danielhers Feb 4, 2017
cfb3b1d
Remove --newformat flag, guess format from file header
danielhers Feb 4, 2017
2ccea2a
Add documentation for United Hatzalah data
danielhers Feb 5, 2017
66e54fa
Stub for production documentation
danielhers Feb 5, 2017
8068d40
Update README.md
simonaho Feb 6, 2017
e7cf833
Merge pull request #660 from ChaosPredictor/dev
danielhers Feb 8, 2017
808b47e
Properly handle ImportError in process.py
danielhers Feb 12, 2017
5c42434
Set delete_all to False by default
danielhers Feb 12, 2017
67d9bd8
Stub for production documentation
danielhers Feb 5, 2017
067cba0
Add instructions for loading new CBS data
danielhers Feb 12, 2017
347bc33
3 tests checking markers severity response: fatal/severve/light
ChaosPredictor Feb 13, 2017
303f91b
Merge pull request #668 from ChaosPredictor/dev
danielhers Feb 14, 2017
f905813
2 new tests: accurate/approx markers only
ChaosPredictor Feb 20, 2017
d6e5f47
better syntax of test_markers_approx_only test
ChaosPredictor Feb 27, 2017
9c79b58
Merge pull request #669 from ChaosPredictor/dev
danielhers Feb 27, 2017
cff13d1
Update README.md
simonaho Feb 27, 2017
242869c
#667 Added united filter.
aviklai Mar 18, 2017
4b19bdc
#663 - Allow skipping existing markers in process.py.
aviklai Mar 18, 2017
8052fc5
Merge pull request #670 from aviklai/dev
danielhers Mar 18, 2017
c0034f2
change import date starting from 2005 to starting from 2011 for bette…
markfridman Jun 10, 2017
833b3f1
adding share buton to markers info
markfridman Jun 12, 2017
55fe504
adding share button to markers info
markfridman Jun 26, 2017
491fd08
no change
markfridman Jun 26, 2017
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Binary file removed .DS_Store
Binary file not shown.
2 changes: 2 additions & 0 deletions .buildpacks
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
https://github.com/yosiat/buildpack-java-install.git
https://github.com/heroku/heroku-buildpack-python.git#v52
25 changes: 19 additions & 6 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# local env
local.db
/local.db
/new_local.db
/envit.sh
/local.db-journal

# compiled code
*.py[cod]
Expand Down Expand Up @@ -31,12 +34,22 @@ pip-log.txt
nosetests.xml

# Translations
*.mo
# *.mo # https://github.com/hasadna/anyway/pull/438

# Mr Developer
.mr.developer.cfg
.project
.pydevproject
.idea
/.mr.developer.cfg
/.project
/.pydevproject
/.idea
.DS_Store

venv

# data files
/static/data/lms

# webassets cache file
/static/.webassets-cache
/static/css/app.min.css
/static/js/app.min.js
/static/js/years.js
15 changes: 15 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
language: python
python:
- "2.7.11"
sudo: false
# command to install dependencies
install: pip install -r requirements.txt
# command to prepare for tests
before_script:
- export DATABASE_URL='sqlite:///local.db'
- python models.py
# command to run tests
script:
- python process.py
- python united.py --light
- python -m unittest discover tests
192 changes: 0 additions & 192 deletions 1

This file was deleted.

32 changes: 32 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
FROM partlab/ubuntu-java

# Use bash for environment setup
RUN ln -snf /bin/bash /bin/sh

# Install system tools
RUN apt-get -y update && apt-get install -y --no-install-recommends -qq build-essential \
git \
python-pip \
python-dev \
python-tk \
libpq-dev \
vim \
sqlite3 \
&& apt-get clean

# Create required aliases and env variables
RUN echo "export DATABASE_URL=sqlite:////anyway/local.db" >> ~/.bashrc

WORKDIR /anyway
EXPOSE 5000

ADD requirements.txt /anyway
RUN pip install -U setuptools
RUN pip install -r requirements.txt

ADD . /anyway

RUN export "DATABASE_URL=sqlite:////anyway/local.db" && python models.py && python process.py

#docker docker build -t hasdna/anyway .
#docker run -it -p 80:5000 --name anyway hasdna/anyway /bin/bash -c 'export DATABASE_URL=sqlite:////anyway/local.db && python main.py --open'
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright (c) 2013, Anyway.
Copyright (c) 2015, ANYWAY.
All rights reserved.

Redistribution and use in source and binary forms, with or without
Expand Down
2 changes: 1 addition & 1 deletion Procfile
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
web: gunicorn main:app
web: NEW_RELIC_CONFIG_FILE=newrelic.ini newrelic-admin run-program gunicorn main:app

Loading