You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
sudo adduser <user>
sudo su -l postgres
psql
create user <user> with superuser password '<pass>';
create database <db> owner <user>;
alter role <user>in database <db>set search_path to public,dbo,dbv,new,map,fnd;
alter database <db>set extra.secretkey to '<secretkey>';
su -l <user>
psql -d <db><<script.sql>
Notes
test api with curl
curl -X POST -d 'data=one' csci870.nydev.local/api/test
curl -X GET csci870.nydev.local/api/test