1.2.0 • Published 3 years ago

cosmopolis v1.2.0

Weekly downloads
3
License
GPL-3.0
Repository
github
Last release
3 years ago

cosmopolis

HTML Game about city management.

DEBUG=cosmopolis:* npm start

Database creation

  • Execute the psql in admin mode (as user postgres)
sudo -u postgres psql
  • Create the database, please change the default password
CREATE USER cosmopolis WITH PASSWORD '9a917927-f88e-4819-9abb-97c52f56d3b8';
CREATE DATABASE cosmopolis;
  • now you can login as a standard user with --username=cosmopolis
psql -h localhost --username=cosmopolis # this will ask for password
  • List Tables
\dt

Links

Preferred GUI client: https://www.beekeeperstudio.io/

ORM Docs https://sequelize.org/master/manual/getting-started.html