Skip to content

edenchazard/garden-of-eden

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Garden of Eden

Garden of Eden is a hatchery site for Dragon Cave.

You can see it in action here!

Getting started

First, make a copy of the .env.example file and name it .env. Make sure to put in your Dragon Cave API private key.

The project uses docker, so you'll need to have docker and docker compose installed. After that, just run:

npm run dev:docker

At this point, you'll want to run the database migrations. Drizzle is used for migrating and interacting with the database.

npm run dev:docker:migrate

Testing for production

CSurf will cry. A lot. Tears o' plenty. If you don't add the following env vars to your .env:

NITRO_CSURF_HTTPS=false
NITRO_CSURF_COOKIE_KEY=csrf

Useful links

Troubleshooting

If you need to start from scratch, you can run the following commands to remove the docker containers and images whilst keeping the database intact:

npm run dev:docker:cleanup

If you need to remove the database and other volumes you can run:

npm run dev:docker:cleanup:all

n.b. you will need to rerun the migrations if you decide to remove the volumes

About

A modern hatchery site for dragcave.net.

Topics

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors 3

  •  
  •  
  •