/awwwards

An app for displaying and rating projects

Primary LanguageHTMLMIT LicenseMIT

MoringaAwwwards Application

An application where users can:

  • Sign up
  • Sign in (authentication)
  • Upload projects
  • Follow other users and see their pictures
  • Like other users projects

Getting Started

  • Fork the repository
  • git clone the project to your local machine
  • Set up a virtual environment in the project folder
python3.6 -m venv --without-pip virtual

Prerequisites

*get pip

curl https://bootstrap.pypa.io/get-pip|python

*get all requirements in the requirements.txt file

pip install -r requirements.txt

Installing

Ensure that the MODE in the .env is set to development ('dev'), which will automatically set debug to true.

Now run the following command

python3.6 manage.py runserver

And view the site at the port provided which is most likely 127.0.0.1:8000

Running the tests

To run the automated tests for this system, run the following command

python3.6 manage.py test instagram

Deployment

To deploy on heroku:

  • Have a Procfile in the project root;
  • Update requirements.txt file with all the requirements in the project root;
  • Have Gunicorn to requirements.txt;
  • Have runtime.txt to specify the correct Python version in the project root;
  • Ensure configuration whitenoise to serve static files.
  • Add a heroku remote by logging in
  • Configure all the settings in .env on heroku (set MODE to 'prod' on heroku)
  • git push to heroku
  • git push database and migrate to heroku server

Built With

  • Python Programming Language
  • Django Web Framework
  • Bootstrap v4 Framework

Versioning

Find all the versions used in the requirements.txt or run the following command to confirm:

pip freeze

Authors

License

This project is licensed under the MIT License - see the LICENSE file for details

Acknowledgments

  • My Technical Mentors here at Moringa
  • My classmates
  • Google
  • Stackoverflow
  • CSS Tricks Website