Closed codeplus254 closed 5 years ago
@codeplus254 Great work on this project. I tried to look at Travis and it says, Build has been terminated, could you kindly check on it?
@codeplus254 Check why the article rating model can be created
test is failing.
Code Climate has analyzed commit 98379d7b and detected 1 issue on this pull request.
Here's the issue category breakdown:
Category | Count |
---|---|
Complexity | 1 |
View more on Code Climate.
What does this PR do?
Description of Task to be completed?
How should this be manually tested?
git clone -b ft-users-able-rate-article-161966917 https://github.com/andela/ah-infinity-stones
and$ cd ah-infinity-stones
virtualenv -p python3 venv
$ source venv/bin/activate
$ pip3 install -r requirements.txt
to install the dependenciesActivate the env variables by
$source .env
.$ python3 manage.py migrate
$ python3 manage.py runserver
http://127.0.0.1:8000/api/users/
through Postman, provide inputs in the following format and create account.Check your email and activate the account. Use the registration token to access the following endpoints:
http://127.0.0.1:8000/api/articles
- Post an article.}
{ "rating": "4" }