GithubHelp home page GithubHelp logo

christopheroloo / kilimoqaportal Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 12.99 MB

License: MIT License

Procfile 0.01% Python 14.65% PowerShell 0.17% Shell 0.07% CSS 12.26% JavaScript 5.79% HTML 67.07%

kilimoqaportal's Introduction

Kilimo QA Portal

Technology Stack

Functionalities

  • 50+ Badges are implemented to award
  • 20 Privileges to Earn
  • Track Badges
  • Reputation Awarding
  • Privilege and Activity Notifications
  • Live Q&A MarkDown Preview
  • User @mentioning in comments
  • Create and award Bounties
  • Threading to keep track of the remaining days of Bounty.
  • Reviewing Tasks :
    • First Question Review
    • First Answer Review
    • Late Answer Review
    • Review Flag Posts
    • Review Flag Comments
    • Review Close Votes
    • Review ReOpen Votes
    • Review Low-Quality Posts
    • Review Suggested Edits

Setup Commands

Clone this repository

  1. Clone this project using
$ git clone URL

For Postgresql usage*, you will need to download and install it.

  1. Download Postgresql from this Link
  2. After installation, create Database in postgresql shell using these commands
    1. CREATE DATABASE so_clone;
    2. CREATE USER so_clone_user WITH PASSWORD 'password';
    3. GRANT ALL PRIVILEGES ON DATABASE so_clone TO so_clone_user;
  3. and fill database name , database password and user in settings.py like
DATABASES = {
  'default': {
      'ENGINE': 'django.db.backends.postgresql_psycopg2',
      'NAME': 'so_clone',
      'USER': 'so_clone_user',
      'PASSWORD': 'password',
      'HOST': 'localhost',
      'PORT': '',
  }
}

*Note: You can skip postgresql installation if you're setting up this project using sqlite. simply just comment the postgresql configuration and uncomment sqlite configuration

Now run make migrations command, running make migrations command will perform Data Migrations to save the "Badges" in the database. then migrate to load the operations of Data Migrations in database.

$ python manage.py makemigrations
$ python manage.py migrate

Then, simply run the server using this command.

$ python manage.py runserver

Deployment

The following details and steps on how to deploy this application

Heroku

See detailed Deploying django app on Heroku

Contributing

If you have any question or issues, It may have bugs that i may have missed. You can create Pull request or you can also contact me.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.