Skip to content

reallyMilo/AnnoStamps

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Anno Stamps

A site for uploading and sharing stamps for Anno 1800 Anno Stamps.

Setup local environment

install postgres

Use the guide above to install postgres then run the following commands

sudo -u postgres psql
CREATE DATABASE annostamps;
GRANT ALL PRIVILEGES ON DATABASE annostamps TO postgres;
ALTER USER postgres PASSWORD 'postgres';

create .env in root

DATABASE_URL="postgresql://postgres:postgres@localhost:5432/annostamps"
DIRECT_URL="postgresql://postgres:postgres@localhost:5432/annostamps"
AUTH_SECRET="openssl rand -base64 33"

Finally run the following commands..

pnpm i
pnpm migrate
pnpm db-seed

AWS

Eraser Diagram

Create-Stamps

Download-Stamp