GithubHelp home page GithubHelp logo

bhavesh0327 / helping_hand Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 3.0 42 KB

A platform to help people at this moment when Covid-19 is making it difficult for people fulfill their basic needs and asking for help.

Python 100.00%

helping_hand's Introduction

Helping_Hand

A help site for people in Trichy at this moment when Covid-19 is making it difficult for people fulfill their basic needs and asking for help.

Installation

Prerequisites

  • Install Python
  • Install Python Package Manager (pip/pip3) :
    apt-get install python-pip
    
    apt-get install python3-pip
    
  • Install virtualenv :
    apt-get install virtualenv
    
  • Install mysqlclient prerequisites :
    • You may need to install the Python and MySQL development headers and libraries like so:
      sudo apt-get install python-dev default-libmysqlclient-dev
      
    • If you are using python3 then you need to install python3-dev using the following command :
      sudo apt-get install python3-dev
      
    • Install from PyPI:
      pip3 install mysqlclient
      
  • Install Geospacial Libraries:
    sudo apt-get install binutils libproj-dev gdal-bin
    

Project Installation

  1. Clone the repository - git clone <remote-url>
  2. Go to the project directory - cd <cloned-repo>
  3. Set up the environment :
    • Create virtual environment files - virtualenv -p python3 venv
    • Activate virtual environment - source venv/bin/activate
  4. Install dependencies - pip3 install -r requirements.txt
  5. Create a database - helping_hand
  6. Copy contents of .env.example to a new file .env - cp .env.example .env
    • Set DB_USERNAME and DB_PASSWORD to your localhost mysql credentials
  7. Make migrations - python3 manage.py makemigrations
  8. Run migrations - python3 manage.py migrate
  9. Start server - python3 manage.py runserver

helping_hand's People

Contributors

aananthv avatar bhavesh0327 avatar kira009 avatar pavi114 avatar

Stargazers

 avatar

Watchers

 avatar  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.