Skip to content
This repository has been archived by the owner on Jun 7, 2024. It is now read-only.

Latest commit

 

History

History
50 lines (25 loc) · 1.55 KB

README_API_INSTALL_CODE_FROM_GITHUB.md

File metadata and controls

50 lines (25 loc) · 1.55 KB

README for API Installation: 2. Get WeVoteServer Code from Github

Back to Install Table of Contents

BACK: 1a. Installing PostgreSQL on Mac

BACK: 1b. Installing PostgreSQL on Linux

Clone WeVoteServer from github

Create a place to put all the code from Github (this example is for Mac):

$ mkdir /Users/<YOUR NAME HERE>/PythonProjects/

This example is for Linux:

$ mkdir ~/PythonProjects/WeVoteServer/

Retrieve “WeVoteServer” into that folder:

  1. Create a fork of wevote/WeVoteServer.git. You can do this from https://github.com/wevote/WeVoteServer with the "Fork" button
    (upper right of screen)

  2. Go to your fork repo page, click green 'Clone or Download' button, copy the URL and clone your fork to local dev:

    $ cd ~/PythonProjects

    $ git clone https://github.com/wevote/WeVoteServer.git

  3. Change into your local WeVoteServer repository folder, and set up a remote for upstream:

    $ cd  ~/PythonProjects/WeVoteServer
    
    $ git remote add upstream git@github.com:wevote/WeVoteServer.git
    

Updating openssl on Mac

This will ensure you will be able to test donations with the most up to date TLS1.2:

brew install openssl

NEXT: 3a. Install Python/Django on Mac

NEXT: 3b. Install Python/Django on Linux

Working with WeVoteServer day-to-day

Back to Install Table of Contents