Skip to content

Latest commit

 

History

History
39 lines (32 loc) · 1.31 KB

README.md

File metadata and controls

39 lines (32 loc) · 1.31 KB

ContriFOSS-Website

Rgsoc aspirants, please refer the project_template repo: https://github.com/ContriFOSS/project_template

Installation

System Requirements

  • Git
  • Python 3.6.9
  • pip 9.0.1

Setup

  • Install and configure Git
  • git clone https://github.com/ContriFOSS/ContriFOSS-Website.git
  • cd ContriFOSS-Website
  • sudo apt-get update
  • sudo apt-get upgrade
  • sudo apt-get install python3 (sudo apt-get upgrade python3)
  • python3 -m pip install --upgrade pip (Install Pip)
  • sudo apt-get install python3-venv (Virtual Environment)
  • python3 -m venv myvenv
  • source myvenv/bin/activate (Activate Virtual Environment)
  • sudo apt install nodejs
  • sudo apt install libpq-dev python3-dev gcc
  • sudo apt-get install python-psycopg2
  • sudo npm i -g npx
  • npm config set proxy http://proxy_host:port (For setting proxy, if required)
  • npm config delete proxy and npm config delete https-proxy (For removing proxy, if required)
  • pip3 install -r requirements.txt

Start Django Server

  • python manage.py migrate
  • python manage.py makemigrations
  • python manage.py runserver

Start React Server

  • Open a New Terminal
  • Setup Intructions are available here