Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improved installation instructions #142

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 15 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,21 @@ Flight Review is deployed at https://review.px4.io.

#### Installation and Setup ####

- clone the repository
- use python3
- `sudo apt-get install sqlite3 fftw3 libfftw3-dev`
- if you are using Ubuntu or Debian you might have to install ATLAS as well:
`sudo apt-get install libatlas3-base`.
- `pip3 install bokeh jinja2 pyulog simplekml scipy pyfftw`
(at least version 0.12.11 of bokeh is required)
- configure web server config (this can be skipped for a local installation):
- Clone the repository
- Use Python 3, preferably inside a [virtual environment](https://docs.python.org/3/library/venv.html) to isolate the dependencies:
- `python3 -m venv venv`
- `. venv/bin/activate`
- Install the dependencies
- Linux:
- `sudo apt-get install sqlite3 fftw3 libfftw3-dev`
- if you are using Ubuntu or Debian you might have to install ATLAS as well:
`sudo apt-get install libatlas3-base`.
- macOS:
- Use [Homebrew](https://brew.sh/index_it)
- `brew install fftw`
- Install Python dependencies:
`pip3 install "bokeh>=0.12.11" jinja2 pyulog simplekml scipy cython pyfftw`
- Configure web server config (this can be skipped for a local installation):
create a file `config_user.ini` and copy and adjust the sections and values
from `config_default.ini` that should be overridden.
- `./setup_db.py` to initialize the database.
Expand Down