Git Product home page Git Product logo

contrihub-21's Introduction

ContriHUB - 21

ContriHUB is an event where we are expecting to get more and more people involved in Open Source activities.

How to run locally?

  • Install Python

  • Clone this repository

    git clone https://github.com/ContriHUB/ContriHUB-21.git
    
  • Create Virtual Environment

    python -m venv <env_name>
    
  • Activate the environment

    • On Windows, run: <env_name>\Scripts\activate
    • On Linux/Mac, run: source <env_name>/bin/activate
  • Change directory to ContriHUB-21

    cd ContriHUB-21
    
  • Install the dependencies

    pip install -r requirements.txt
    
  • Create a .env file

    • In Windows, Right Click, Open Git Bash here, and run: touch .env
    • In Linux/Mac, run: touch .env
  • Fill the contents of .env by following the format given in sample_env_file.txt

    • You can use this to generate SECRET_KEY, otherwise just remove that from .env file and it should work fine.
    • You will need to create a Github OAuth App in order to fill SOCIAL_AUTH_GITHUB_KEY and SOCIAL_AUTH_GITHUB_SECRET fields.
    • Put both Homepage URL and Authorization callback URL as http://127.0.0.1:8000/.
    • If you want to work on Email Sending Issue, you also need to fill you Email (GMail) in EMAIL_HOST_USER and your Email password in EMAIL_HOST_PASSWORD. (Now you know why you should never push .env file to remote).
    • You will also need to Allow Access to Less Secure Apps in your GMail Account.
    • You can also create a new GMail account to avoid using your personal account.
  • To apply the migrations run,

    python manage.py migrate
    
  • Now to run the server, and visit http://127.0.0.1:8000/.

    python manage.py runserver
    
  • To access admin panel, you need to be superuser. Follow this link for instructions.

Mentors

You can reach out to us if you need help.

CAUTION: Website is currently under development.

contrihub-21's People

Contributors

pirateksh avatar ankitsangwan1999 avatar cyrilmishra avatar shobhit2002 avatar paraggupta027 avatar dup-491 avatar jitendra-bairwa avatar rdx-rockstar avatar techimanshu8 avatar mayankgupta139 avatar verma-verse avatar durgesh1506 avatar swatijindal08 avatar overlord-ak avatar tiwarirajdeep avatar abhijeetp94 avatar amitgupta7580 avatar dhanrajchaurasia avatar divyanshi070700 avatar gursimran18 avatar shahikaju7 avatar kaptan0428 avatar metakunal avatar kunaal22 avatar mansi0703 avatar just-a-n00b avatar neerajchatterjee avatar pravesh-pandey avatar pranshutiwari14 avatar priyanshu785 avatar

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.