I hereby claim:
- I am thekashifmalik on github.
- I am thekashifmalik (https://keybase.io/thekashifmalik) on keybase.
- I have a public key ASDEhecbhP4Gor40lOO7Xp11NE3l6Sclk42_JUQWt8tqqQo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| #! /bin/sh -x | |
| python manage.py upgradedb --settings local_settings.api --execute | |
| python manage.py runserver --settings local_settings.api 0.0.0.0:80 | |
| api: | |
| build: . | |
| command: ./bin/run-api.sh | |
| ports: | |
| - "80:80" | |
| volumes: | |
| - .:/usr/src/app | |
| links: | |
| - postgres | |
| stdin_open: true |
| api: | |
| build: . | |
| command: sh -c "DJANGO_SETTINGS_MODULE=local_settings_api_service python manage.py runserver 0.0.0.0:80" | |
| ports: | |
| - "80:80" | |
| volumes: | |
| - .:/usr/src | |
| links: | |
| - postgres |
| FROM disqus/nginx:python2.7-light | |
| RUN mkdir -p /usr/src | |
| WORKDIR /usr/src | |
| # build python env | |
| COPY requirements/dev.txt /usr/src/requirements/numpy.txt | |
| RUN pip install --no-cache-dir -r requirements/numpy.txt | |
| COPY requirements/global.txt /usr/src/requirements/global.txt |
| def your_function(choice): | |
| # This is your main program function | |
| # Create a list of user inputs | |
| user_choices = [ | |
| 'rock', | |
| 'paper', | |
| 'rock', | |
| 'scizzor' | |
| ] |