-
Notifications
You must be signed in to change notification settings - Fork 0
Deployment
krishna kumar edited this page Oct 21, 2022
·
14 revisions
- Install PostgreSQL You can probably find some more detailed guide for this somewhere else
$ sudo apt update && upgrade -y
$ sudo apt install -y postgresql
$ sudo passwd postgres
$ su postgres -c "psql"
$ ALTER USER postgres PASSWORD xxxxx
# \q
- Install dependencies
$ sudo apt update && upgrade -y
$ sudo apt install -y libncurses5-dev python2.7-dev libffi-dev libgeos-dev libspatialindex-dev python3-pip osmosis curl
$ curl -sSf https://sh.rustup.rs | env -u CARGO_HOME sh -s -- --no-modify-path --default-toolchain 1.20.0
$ source "$HOME/.cargo/env"
- Clone repo
$ git clone https://github.com/oSoc17/lopeningent_backend
- Install python dependencies
$ cd lopeningent_backend/server
$ pip install -r requirements.txt
- Compile the rust source code
$ cd lopeningent_backend/server
$ cargo build --release
- Load the database schema
$ cd lopeningent_backend/data
$ psql --user postgres < lopeningent_schema.sql
- Run the data preprocessing algorithm and populate the database
$ ./update.sh
- Start the server
$ cd ../server
$ #gunicorn server.wsgi --bind localhost:8000 --workers 1 --timeout 300
$ ./deploy.sh
Students
Gerwin Dox -
Tim Baccaert -
Redouane Arroubai -
Simon Neuville -
Gregory De Crock -
Hendrik Depauw -
Lorenz van Herwaarden -
Maxim Deweirdt -
Nick Aelterman -
Olivier Cammaert
Supervisors
Krishna Kumar Thirukokaranam Chandrasekar -
Florian Vandecasteele -
Steven Verstockt
Partners
imec - IDLab - Ghent University