/sushiksha-website

Official repo of Sushiksha website Repo built with Django with features of Basic CRUD operation, Ajax Calls, Profile picture Updation, Quiz section, User Analytics, Leaderboard, Slack API calls, Blog page. Feel free to Fork and contribute ;)

Primary LanguageHTMLApache License 2.0Apache-2.0

Sushiksha-lOGO 

GitHub issues GitHub forks GitHub stars

Powered by Django.

Sushiksha Mentoring Program is organized for scholars of Vishwa Konkani Student Scholarship Fund (VKSSF) by members of VKSSF Alumni Association (VAA). Sushiksha was started in 2018 by Royal Denzil Sequeira, a member of VAA since 2015, with 20 mentees. Since then Sushiksha has grown to be family of 170 mentees and 20 mentors. Mentees of Sushiksha are undergraduate scholars of VKSSF who are determined to thrive and be successful in their area of study and career. Mentors of Sushiksha Program are experienced professionals who were once the scholars of VKSSF and have lived through their own share of successes and failures but believe in empowering the scholars early on in their career path.

Sushiksha thrives because of the dedication of its active mentees and mentors – who have contributed countless hours of work to shape their future and make it a highly productive and focused workspace.

Table of Contents
  1. Contributing / Adding Features
  2. License
  1. Backend Framework: Django
  2. Front-end Framework: Bootstrap

Installation

  1. Fork and Clone

    1. Fork sushiksha-website the Repo
    2. Clone the repo to your computer.
  2. Create a Virtual Environment for the Project

    In Windows

    python -m venv venv
    
    venv\Scripts\activate

    In Ubuntu/MacOS

    python -m virtualenv venv
    
    source venv/bin/activate

    If you are giving a different name then venv, then please mention it in .gitigonre first

  3. Install all the requirements

    pip install -r requirements.txt
  4. Checkout to develop branch

    git status
    git pull
    git branch
    git checkout develop
    
    
  5. Create a settings.py in sushiksha-website/djangoProject/

    Copy paste the code from below document to settings.py

    settings.py

    Change the config parameters,

    SECRET_KEY = 'Enter random character string'
    EMAIL_USER = 'your email username'
    EMAIL_PASS = 'Enter you email password'
    SLACK_AUTH_TOKEN: "token here"

    comment line #44 of users/signals.py (send_email.delay(array)) during development and uncomment before sending PR

  6. Make migrations/ Create db.sqlite3

    python manage.py makemigrations
    python manage.py migrate
  7. Create a super user. In django if you want to access admin page, you need to create an account first.

    python manage.py createsuperuser
    

    Then select your username and password.

  8. Run server

    python manage.py runserver
  9. Do the Development and send me a PR referencing the issue.

Development

git checkout develop-<username>
//Create the changes and then commit
git add <filename>
git commit -m "<Message here>"

From your master branch or your main branch that you are working on, give a PR to our develop branch.

Developers should create a folder /media and put an image named default.jpg to avoid errors in creating superuser.

!IMPORTANT: Don't give a PR to the master branch We only accept PR's to develop branch.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change. While sending the PR please mention the issue in the Comment.

Note: PR's are accepted that are sent only by Sushiksha members.

Apache License

Apache License 2.0