-
Notifications
You must be signed in to change notification settings - Fork 7
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
93 changed files
with
4,024 additions
and
1,045 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
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
2 changes: 1 addition & 1 deletion
2
deployment/ansible/roles/cac-tripplanner.app/tasks/dev-test-dependencies.yml
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 @@ | ||
--- | ||
- name: Install dev/test python packages | ||
pip: name={{ item.name }} version={{ item.version }} | ||
pip: name={{ item.name }} version={{ item.version }} executable=/usr/bin/pip3 | ||
with_items: | ||
- { name: 'flake8', version: '3.7.7' } |
5 changes: 5 additions & 0 deletions
5
deployment/ansible/roles/cac-tripplanner.database/defaults/main.yml
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,5 @@ | ||
--- | ||
production: False | ||
|
||
# Use python 3 on database VM | ||
ansible_python_interpreter: "/usr/bin/python3" |
1 change: 1 addition & 0 deletions
1
deployment/ansible/roles/cac-tripplanner.database/meta/main.yml
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,3 +1,4 @@ | ||
--- | ||
dependencies: | ||
- { role: "azavea.postgresql" } | ||
- { role: "cac-tripplanner.python3" } |
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 |
---|---|---|
|
@@ -4,6 +4,7 @@ | |
state: present | ||
pkg: | ||
- build-essential | ||
- gcc | ||
- libgeos-dev | ||
- libgdal-dev | ||
- libproj-dev | ||
|
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,14 @@ | ||
from django.utils.translation import ugettext_lazy | ||
|
||
|
||
class PublishableMixin: | ||
"""Helper to add Django admin actions to publish and unpublish model objects.""" | ||
actions = ('make_published', 'make_unpublished') | ||
|
||
def make_published(self, request, queryset): | ||
queryset.update(published=True) | ||
make_published.short_description = ugettext_lazy("Publish selected %(verbose_name_plural)s") | ||
|
||
def make_unpublished(self, request, queryset): | ||
queryset.update(published=False) | ||
make_unpublished.short_description = ugettext_lazy("Unpublish selected %(verbose_name_plural)s") |
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
Binary file removed
BIN
-26.6 KB
python/cac_tripplanner/default_media/events/CrazyPhiladelphiaEddie_3.jpg
Binary file not shown.
Binary file removed
BIN
-66.7 KB
python/cac_tripplanner/default_media/events/CrazyPhiladelphiaEddie_5.jpg
Binary file not shown.
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 @@ | ||
boto==2.49.0 | ||
PyYAML==5.1.2 | ||
PyYAML==5.2 | ||
majorkirby==1.0.0 | ||
requests==2.22.0 | ||
troposphere==2.5.2 |
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.