Skip to content

Manual install

Robert Wikman edited this page Jul 3, 2018 · 4 revisions

This guide covers how to install Redap without WSGI and Nginx, instead we'll use the Flask built-in Werkzeug development server with debugging enabled—that is, this guide is NOT intended for production environments.

 

1. Clone the Redap repository

$ git clone https://github.com/rbw0/redap.git

2. Install dependencies

$ sudo pip3 install -r requirements.txt

3. Configure the database and copy default settings

$ ./setup.sh

4. Generate an API key

$ ./keys add "My first key"

5. Start the server

$ flask run

 

Point a web browser to http://127.0.0.1:5000/api-docs and click authorize to use the API key you just generated.

Clone this wiki locally