Skip to content

Files

Latest commit

64e4afb · Aug 4, 2024

History

History
This branch is 35 commits ahead of, 5 commits behind jphamilton/asteroids:master.

rollup

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Aug 4, 2024
Aug 4, 2024
Jul 31, 2024
Aug 1, 2024
Aug 4, 2024
Aug 4, 2024
Aug 4, 2024
Aug 4, 2024
Jul 31, 2024
Jul 30, 2024
Aug 4, 2024

comets

Initialized using @stackr/sdk

How to run?

Run using Node.js 🚀

npm start

Run using Docker 🐳

  • Build the image using the following command: (make sure you replace `<NPM_TOKEN>` with the actual value)
# For Linux
docker build -t comets:latest . --build-arg NPM_TOKEN=<NPM_TOKEN>

# For Mac with Apple Silicon chips
docker buildx build --platform linux/amd64,linux/arm64 -t comets:latest . --build-arg NPM_TOKEN=<NPM_TOKEN>
  • Run the Docker container using the following command:
# If using SQLite as the datastore
docker run -v ./db.sqlite:/app/db.sqlite -p <HOST_PORT>:<CONTAINER_PORT> --name=comets -it comets:latest

# If using other URI based datastores
docker run -p <HOST_PORT>:<CONTAINER_PORT> --name=comets -it comets:latest