Author: DorcasCherono
The application will allows a user to post a project he/she has created and get it reviewed by his/her peers.
As a user of the web application you will be able to:
- Sign up and log in
- View projects posted by other users
- Post projects
- Rate a project
- Edit your profile
- Generate APIs
- Review a project
You can access data from the application through the following endpoints:
- https://awwards123.herokuapp.com/api/projects to have a look at all projects
- https://awwards123.herokuapp.com/api/profile to have a look at the profiles
- Clone Project to your machine
- Activate a virtual environment on terminal:
source virtual/bin/activate
- Install all the requirements found in requirements file.
- On your terminal run
python3.6 manage.py runserver
- Access the live site using the local host provided
- python3.6
- virtual environment
- pip
git clone https://github.com/DorcasToto/Awwards.git
git init
git remote add origin <your-repository-url>
python3.6 -m virtualenv virtual
source virtual/bin/activate
Create a .env
file and paste paste the following filling where appropriate:
SECRET_KEY = 'your secret key'
DEBUG=True
DB_NAME='awwards'
DB_USER='<your database name>'
DB_PASSWORD='<password to your database>'
DB_HOST='127.0.0.1'
MODE='dev'
ALLOWED_HOSTS='*'
DISABLE_COLLECTSTATIC=1
Install dependancies that will create an environment for the app to run
pip install -r requirements.txt
python3.6 manage.py check
python manage.py makemigrations news
python3.6 manage.py sqlmigrate news 0001
python3.6 manage.py migrate
python3.6 manage.py runserver
Open localhost:8000
python manage.py test insta
- Python3.6
- Django 3.1
- Postgresql
- Boostrap
- HTML
- CSS