Skip to content

The application will allows a user to post a project he/she has created and get it reviewed by his/her peers.

License

Notifications You must be signed in to change notification settings

DorcasToto/awwards

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Award

Description

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:

  1. Sign up and log in
  2. View projects posted by other users
  3. Post projects
  4. Rate a project
  5. Edit your profile
  6. Generate APIs
  7. Review a project

Endpoints

You can access data from the application through the following endpoints:

  1. https://awwards123.herokuapp.com/api/projects to have a look at all projects
  2. https://awwards123.herokuapp.com/api/profile to have a look at the profiles

Setup and installations

  • 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

Getting started

Prerequisites

  • python3.6
  • virtual environment
  • pip

Clone the Repo and rename it to suit your needs.

git clone https://github.com/DorcasToto/Awwards.git

Initialize git and add the remote repository

git init
git remote add origin <your-repository-url>

Create and activate the virtual environment

python3.6 -m virtualenv virtual
source virtual/bin/activate

Setting up environment variables

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

Install dependancies that will create an environment for the app to run pip install -r requirements.txt

Make and run migrations

python3.6 manage.py check
python manage.py makemigrations news
python3.6 manage.py sqlmigrate news 0001
python3.6 manage.py migrate

Run the app

python3.6 manage.py runserver

Open localhost:8000

Testing the Application

python manage.py test insta

Built With

  • Python3.6
  • Django 3.1
  • Postgresql
  • Boostrap
  • HTML
  • CSS

License

  • LICENSED UNDER License: MIT

About

The application will allows a user to post a project he/she has created and get it reviewed by his/her peers.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published