User navigates to provided URLs or endpoints in the browser
User should access the live application
How should this be manually tested?
$ git clone -b ch-heroku-deployment-161966906 https://github.com/andela/ah-infinity-stones then
$ cd ah-infinity-stones
Create and activate virtual env
virtualenv -p python3 venv
$ source venv/bin/activate$ pip3 install -r requirements.txt to install the dependencies
Setup environment variables. Copy all from below and paste them into the .env file. Update the values to your choice:
Locally, Run $ gunicorn authors.wsgi to test
On Heroku connect this repository and branch
Create postgres hobby dev database
On Heroku configure settings vars to match your environment vars
Deploy and access endpoints such as:
POST http://127.0.0.1:8000/api/users/GET http://127.0.0.1:8000/api/profiles/GET http://127.0.0.1:8000/api/profiles/?page=2GET http://127.0.0.1:8000/api/profiles/uGET PUT http://127.0.0.1:8000/api/profiles/<username>
Activate the env variables by $ source .env
Run migrations: $ python3 manage.py makemigrations
Run migrations: $ python3 manage.py migrate
Run generic tests $ python3 manage.py test
Run specific tests $ python3 manage.py test authors/apps/profiles
What does this PR do?
Description of Task to be completed?
How should this be manually tested?
$ git clone -b ch-heroku-deployment-161966906 https://github.com/andela/ah-infinity-stones
then$ cd ah-infinity-stones
Populate your
.env
with:What are the relevant pivotal tracker stories?
#161966906
Screenshots