This is a Django website that allows a user to post a project he/she has created and get it reviewed by his/her peers.A project can be rated based on 3 different Criteria Design, Usability and Content
Users would like to:
- View posted projects and their details
- Post a project to be rated/reviewed
- Rate/ review other users' projects
- View projects overall score
- View my profile page
Behaviour | Input | Output |
---|---|---|
Admin Authentication | On demand | Access Admin dashboard |
User Authentication | On demand, verify emails before proceeding | Access Admin dashboard |
Display all projects with ratings | Home page | Clickable links to open any live site |
Display images of the site | On click | All details should be viewed and ratings available |
To add an image | Through Admin dashboard and homepage | Click on add and upload respectively |
To edit image | Through Admin dashboard | Redirected to the image form details and editing happens |
To delete an image | Through Admin dashboard | click on image object and confirm by delete button |
To search | Enter text in search bar | Users can search by name of project |
View other users profiles | Click username on user stories navigation | Users can view all projects posted by any user |
Rattings on images | Rate projects below respective | Users can add comments on any image |
Run the following command on the terminal:
git clone https://github.com/Gesare/Zawadiana.git && cd Zawadiana
Activate virtual environment using python3.6 as default handler
virtualenv -p /usr/bin/python3.6 venv && source venv/bin/activate
Install dependancies that will create an environment for the app to run
pip3 install -r requirements.txt
psql
CREATE DATABASE Dbname;
Create .env file and paste paste the following filling where appropriate:
SECRET_KEY = '<Secret_key>'
DBNAME = '<Dbname>'
USER = '<Username>'
PASSWORD = '<password>'
DEBUG = True
python3.6 manage.py makemigrations collection
python3.6 manage.py migrate
python3.6 manage.py runserver
Open terminal on localhost:8000
- Ubuntu Software
- Python3.6
- Postgres
- python virtualenv
python3.8 manage.py test awwardapp
Refer to this guide: deploying to heroku
Set the configuration to production mode
The web app can be accessed from the following link:
- Python
- Material design
- WhiteNoise
- JavaScript
- CSS
- Django
- PostgreSQL Database
Copyright (c) [2020] [Zawadiana] Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE..