Skip to content
openhotelPublic

About

No description, website, or topics provided.

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

devkit

Run all OpenHotel stack locally with Docker.

Service Repo URL
client openhotel/openhotel http://localhost:1994
auth openhotel/auth http://localhost:2024
web openhotel/web http://localhost:2025
onet openhotel/onet http://localhost:9400
asset-editor openhotel/asset-editor http://localhost:2030
static openhotel/static http://localhost:1995
s3 SeaweedFS http://localhost:9000
mail Mailpit http://localhost:8025

Requirements

  • Docker
  • Deno
  • Git

The service repos are cloned next to this one (or in REPOS_DIR from .env):

openhotel/
├── devkit/
├── openhotel/
├── auth/
├── onet/
├── web/
├── asset-editor/
└── static/

Usage

deno task setup                # clone missing repos and create dev configs
deno task up auth              # start auth
deno task seed                 # create users, hotel and tokens (seed.yml)
deno task up                   # everything (in background)
deno task up auth client       # some services
deno task logs                 # logs of all services
deno task logs client          # logs of one service
deno task down                 # stop everything
deno task reset                # remove containers, s3 data and databases
deno task reset --configs      # ...and the service configs
deno task reset --cache        # ...and the deno cache

S3

s3:
  enabled: true
  endpoint: localhost
  port: 9000
  useSSL: false
  accessKey: openhotel
  secretKey: openhotel
  region: us-east-1
  bucket: <service-name>

About

No description, website, or topics provided.

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages