-
Notifications
You must be signed in to change notification settings - Fork 1
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.git2. Install dependencies
$ sudo pip3 install -r requirements.txt3. Configure the database and copy default settings
$ ./setup.sh4. 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.