Skip to content

Latest commit

 

History

History
54 lines (33 loc) · 2.14 KB

README_API_INSTALL.md

File metadata and controls

54 lines (33 loc) · 2.14 KB

README for API Installation

Back to root README

Installing WeVoteServer: Native development

Please note: We do not support direct development on Windows. If you are using a Windows machine, we recommend setting up an Oracle VirtualBox and installing within that. In our experience, a Windows machine should have 8 GB RAM (minimum), and you should allocate 2 CPUs and 4 GB RAM to the virtual machine.

1a. Installing PostgreSQL on Mac

1b. Installing PostgreSQL on Linux

  1. Get WeVoteServer Code from Github

3a. Install Python/Django on Mac

3b. Install Python/Django on Linux

  1. Set up Environment

  2. Set up Database

  3. Set up Initial Data

Troubleshooting

Working with WeVoteServer day-to-day

Back to root README

Installing WeVoteServer: Vagrant and Ansible

You can build WeVoteServer as a Vagrant box using our Ansible-Vagrant project. Note that Ansible is straightforward to install on Mac and Linux hosts, but Windows isn't supported by Ansible. You may try to install via Cygwin, or for Windows 10 or later, install via the Windows 10 subsystem, at which point you should be able to proceed with the Ansible-Vagrant instructions.

Alternatively, you can try the prebuilt Vagrant box, which lets you avoid Ansible setup entirely. Using the prebuilt Vagrant box

Installing on Amazon Web Services (For network team only)

AWS Notes

Maintaining Django Code Tests

Django Code Tests