Skip to content

Latest commit

 

History

History
71 lines (56 loc) · 2.21 KB

README.md

File metadata and controls

71 lines (56 loc) · 2.21 KB

Jomon

An accounting support system

Jomon APIJomon-UI

Environment

Testing

  1. Make the server running.

  2. Run the following command in the project root.

make test

Running

  1. Run the following command in the project root.
make up

Now, you can send http requests to localhost:3000.

  1. Run the following command in the project root when making the server down.
make down

Staging

  1. Set .env file.
  • IS_DEBUG_MODE: Set true if you want to run the server in debug mode, otherwise do not set this variable.
  • PORT: Port number for Jomon staging server
  • UPLOAD_DIR: Directory for uploading files
  • MARIADB_USERNAME: Username for MariaDB
  • MARIADB_PASSWORD: Password for MariaDB
  • MARIADB_HOSTNAME: Hostname for MariaDB
  • MARIADB_PORT: Port number for MariaDB
  • MARIADB_DATABASE: Database name for MariaDB
  • SESSION_KEY: Session key for Jomon staging server
  • TRAQ_CLIENT_ID: Client ID for traQ
  • WEBHOOK_SECRET: Webhook secret for traQ
  • WEBHOOK_ID: Webhook ID for traQ
  • OS_CONTAINER: Container name for SwiftStorage
  • OS_USERNAME: Username for SwiftStorage
  • OS_PASSWORD: Password for SwiftStorage
  • OS_TENANT_NAME: Tenant name for SwiftStorage
  • OS_TENANT_ID: Tenant ID for SwiftStorage
  • OS_AUTH_URL: Auth URL for SwiftStorage
  1. Enter the server for Jomon staging server and run the following command in the project root.
sudo docker pull ghcr.io/traptitech/jomon-v2:latest
sudo docker run -d -p 1323:1323 --env-file .env ghcr.io/traptitech/jomon-v2