https://github.com/phpdude/hype-test
https://github.com/phpdude/hype-test
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/phpdude/hype-test
- Owner: phpdude
- Created: 2015-11-09T15:40:38.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-11-09T15:40:53.000Z (over 10 years ago)
- Last Synced: 2025-10-24T21:29:07.445Z (8 months ago)
- Language: HTML
- Size: 0 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
Awesome Lists containing this project
README
Test Code Audition Web Python Developers
-------------
All you have to do to get the app working is to follow the instruction:
.. code-block:: console
$ curl -sSL https://raw.githubusercontent.com/gpisacco/hype_test/master/scripts/base.sh | sh
All you need to bring the API online is to create a docker container
it gets the code from git , deploys it and runs a small curl checking script
(the computer needs to have docker installed)
To run the unit test scripts :
.. code-block:: console
$ docker exec /var/data/hype/scripts/run_test.sh
Features
--------
* Admin Login
* User Login
Notes
--------
* All the services (postgres,nginx and uwsgi) are running in the same container due to time restrictions
* Unit tests and production uses different databases , they are configured via an env varable