Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content
/ yh Public
forked from seripap/yh

Grouped fork of all 3 yh codebases.

Notifications You must be signed in to change notification settings

ts/yh

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

YayHooray

Run docker-compose up.

  • web interface at http://localhost:3000
  • api at http://localhost:3100

First run?

Mongo takes a bit longer to fire up on first run, the api will throw errors as the process restarts until mongo comes up.

First user

While the whole setup is running, run docker-compose exec api bash in a separate process and then node ./cmd/createuser <username> <password> <email> to create the first user and you should be able to log in.

Production setup

After mongo has been installed, run mongosh and then:

db.createUser(
  {
    user: "pinkie",
    pwd: "password",
    roles: [ { role: "readWrite", db: "yayhooray" } ]
  }
)

then drop a DATABASE_URL=mongodb://pinkie:password@localhost:27017/yayhooray into /root/yay.env

About

Grouped fork of all 3 yh codebases.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 77.0%
  • HTML 14.7%
  • CSS 8.2%
  • Shell 0.1%