Skip to content
This repository was archived by the owner on Nov 21, 2024. It is now read-only.

Latest commit

 

History

History
27 lines (20 loc) · 553 Bytes

README.md

File metadata and controls

27 lines (20 loc) · 553 Bytes

Installation

# Clone and install deps
git clone https://github.com/anonymousthing/paradb-api.git
cd paradb-api
yarn

# Install and start postgres
sudo apt install postgresql
sudo service postgresql start

# Create postgres user for yourself
sudo -u postgres createuser --interactive --pwprompt

# Edit .env to fill out your username and password!

# Create db and instantiate schema
createdb paradb
db/init.sh

# Create symlink from "fe" to the actual frontend dist directory
ln -s /path/to/obento2/dist/paradb fe

# Start server
yarn start