/Slim-Jack

An application that allows a user to post a project he/she has created and get it reviewed by his/her peers on three criteria: usability, design and content. .

Primary LanguagePythonMIT LicenseMIT

SlimJack

A django application like Awwwards, with two API Endpoints

Getting Started

To get a copy of the project up and running on your local machine for development and testing purposes,

  1. clone this repository
    git clone https://github.com/KarenNgala/Slim-Jack
    
  2. Set up a Python development environment that includes; Python, pip & a virtual environment
    $ python3.6 -m venv --without-pip virtual
    
    $ source virtual/bin/activate
    
    (virtual) $ curl https://bootstrap.pypa.io/get-pip.py | python

Prerequisites

  1. Install project dependencies
     (virtual) $ pip install -r requirements.txt
  • See deployment for notes on how to deploy the project on a live system.

Installing

  1. To get a development env running, use the .env.example file to create your own .env file.
  2. Create a postgres db and add the credentials to .env file
  3. Apply initial migrations
(virtual) $ python manage.py migrate 
  1. Make migrations to your database
(virtual) $ python manage.py makemigrations application
(virtual) $ python manage.py migrate
  1. Create admin account
(virtual) $ python manage.py createsuperuser
  1. Start development server
 (virtual) $ python3 manage.py runserver

Running the tests

Run automated tests for this system

(virtual) $ python3 manage.py test application

Deployment

With all environment variables changed to suit your local copy of this repository, deploy the application to Heroku to see it live

Built With

Authors

License

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