ContriHUB is an event where we are expecting to get more and more people involved in Open Source activities.
- `$ sudo apt-get install python-pip python-dev build-essential`
- `$ apt install Python3.6`
- `use easy_install for older versions of ubuntu e.g -$ easy_install python3-pip`
- `$ apt install python3-pip`
## Creating Virtual environment
# Python 2:
- `$ virtualenv env`
- `$ python3 -m venv env`
- `$ source env/bin/activate`
- `(env) $ deactivate`
- `$ pip install requirements.txt`
Any changes if required in ContriHub/settings.py for running project in local like tell how to setup some environment variables used in ContriHub/settings.py file.
- `As per current settings you don't need to make any change in settings.py if you don't have an environment variable set as 'DATABASE_URL' `
- `$ python manage.py makemigrations`
- `$ python manage.py migrate`
- `$ Python manage.py runserver`
- `$ visit 127.0.0.1:8000`
- `$ Here goes instructions`
- `download python-X.exe file from [Download](https://www.python.org/downloads/) page of official website`
- `double click the downloaded file`
- `the setup installation wizard will guide you through installation process`
- `Ensure that python.exe is added to PATH. Adding Python to the PATH will allow you to call if from the command line.`
- `Installing pip`
- `Download [get-pip.py](https://bootstrap.pypa.io/get-pip.py) being careful to save it as a .py file rather than .txt. Then, run it from the command prompt:`
- `$ python get-pip.py`
- `Install virtualenv package `
- `$ pip install virtualenv`
- `Creating virtual environment`
- `$ mkvirtualenv *env_name*`
- `Activating virtual environment`
- `$ setprojectdir .`
- `Deactivating virtual environment`
- `$ deactivate`
- `run the command from cmd`
- `$ pip install -r requirements.txt`
Any changes if required in ContriHub/settings.py for running project in local like tell how to setup some environment variables used in ContriHub/settings.py file.
- `$ Here goes instructions`
- `$ Python manage.py runserver`
- `$ Here goes instructions`
- `Install XCode from Apple store`
- `open Terminal and install *Homebrew* and then install python`
- `$ ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"`
- `$ brew install python`
- `Installing virtual environment`
- `pip install virtualenv`
- `Create a virtual environment for a project:`
- `$ cd my_project_folder`
- `$ virtualenv my_project`
- `Activating virtual environment`
- `$ source my_project/bin/activate`
- `deactivating virtual environment`
- `$ deactivate`
- `$ pip install -r requirements.txt`
Any changes if required in ContriHub/settings.py for running project in local like tell how to setup some environment variables used in ContriHub/settings.py file.
- `$ Here goes instructions`
- `$ Here goes instructions`
- `$ Here goes instructions`
- `$ Here goes instructions`
Deploy on Heroku -