-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of github.com:STAMP-project/camp
- Loading branch information
Showing
17 changed files
with
199 additions
and
922 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 was deleted.
Oops, something went wrong.
40 changes: 0 additions & 40 deletions
40
samples/stamp/atos/functional/template/apache/demo_site.conf
This file was deleted.
Oops, something went wrong.
19 changes: 0 additions & 19 deletions
19
samples/stamp/atos/functional/template/apache/mpm_event.conf
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
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,6 +1,28 @@ | ||
|
||
# See explanation in the README. | ||
|
||
FROM camp/runtime | ||
# Describe here how to install Citygo ontop of the "python" component. | ||
|
||
ENV PYTHONUNBUFFERED 1 | ||
ENV C_FORCE_ROOT true | ||
|
||
# Describe here how to install Citygo ontop of the "python" component. | ||
# Set work directory | ||
WORKDIR /usr/src/app | ||
|
||
RUN chmod -R +x /usr/src/app | ||
RUN pip install --upgrade pip | ||
|
||
COPY ./requirements.txt /usr/src/app/ | ||
RUN pip install -r requirements.txt | ||
|
||
#copy entrypoint.sh | ||
COPY ./entrypoint.sh /usr/src/app/ | ||
|
||
RUN chmod +x /usr/src/app/entrypoint.sh | ||
# copy project | ||
COPY . /usr/src/app/ | ||
|
||
EXPOSE 80 | ||
|
||
# run entrypoint.sh | ||
ENTRYPOINT ["/bin/sh","/usr/src/app/entrypoint.sh"] |
15 changes: 15 additions & 0 deletions
15
samples/stamp/atos/functional/template/citygo/entrypoint.sh
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,15 @@ | ||
#!/bin/sh | ||
|
||
#Starting gunicorm | ||
echo Starting Gunicorm | ||
|
||
#python manage.py migrate --no-input | ||
python manage.py collectstatic --no-input | ||
|
||
# Run coverage | ||
|
||
#coverage run manage.py test -v 2 | ||
#coverage html | ||
export BROWSER=firefox | ||
exec "$@" | ||
|
25 changes: 25 additions & 0 deletions
25
samples/stamp/atos/functional/template/citygo/requirements.txt
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,25 @@ | ||
Django==1.10.2 | ||
django-allauth==0.27.0 | ||
django-rest-auth==0.8.1 | ||
djangorestframework==3.4.7 | ||
httplib2==0.9.2 | ||
oauth2==1.9.0.post1 | ||
oauthlib==2.0.0 | ||
psycopg2 | ||
psycopg2-binary | ||
python-openid==2.2.5 | ||
requests>=2.18.2 | ||
requests-cache==0.4.12 | ||
requests-oauthlib==0.7.0 | ||
six==1.10.0 | ||
pyowm==2.9.0 | ||
unidecode | ||
pymongo | ||
pandas | ||
gunicorn==19.6.0 | ||
redis==2.10.6 | ||
coverage==3.6 | ||
selenium | ||
html-testRunner==1.2 | ||
pytest-html | ||
unittest-xml-reporting==2.5.1 |
Oops, something went wrong.