You need to initialize and create a database as part of your setup.
- Initialize a DB by running
initdb - Start the Postgres server using
devbox services up - Create a database using
createdb <name_of_db> - You can now connect to the database from the command line by running
psql <name_of_db>
To start the database manually run pg_ctl -l .devbox/conf/postgresql/logfile start.
To stop use pg_ctl stop.
- postgresql
Use devbox services start|stop [service] to interact with services
- PGDATA=//.devbox/conf/postgresql/data
- PGHOST=//.devbox/virtenv/postgresql
To show this information, run devbox info postgresql


