repositorypackage
0.0.0-20241002142855-55a730e5ed36
Repository: https://github.com/traptitech/jomon.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# README
Environment
Testing
-
Make the server running.
-
Run the following command in the project root.
make test
Running
- Run the following command in the project root.
make up
Now, you can send http requests to localhost:3000
.
- Run the following command in the project root when making the server down.
make down
Staging
- Set .env file.
IS_DEBUG_MODE
: Settrue
if you want to run the server in debug mode, otherwise do not set this variable.PORT
: Port number for Jomon staging serverUPLOAD_DIR
: Directory for uploading filesMARIADB_USERNAME
: Username for MariaDBMARIADB_PASSWORD
: Password for MariaDBMARIADB_HOSTNAME
: Hostname for MariaDBMARIADB_PORT
: Port number for MariaDBMARIADB_DATABASE
: Database name for MariaDBSESSION_KEY
: Session key for Jomon staging serverTRAQ_CLIENT_ID
: Client ID for traQWEBHOOK_SECRET
: Webhook secret for traQWEBHOOK_ID
: Webhook ID for traQOS_CONTAINER
: Container name for SwiftStorageOS_USERNAME
: Username for SwiftStorageOS_PASSWORD
: Password for SwiftStorageOS_TENANT_NAME
: Tenant name for SwiftStorageOS_TENANT_ID
: Tenant ID for SwiftStorageOS_AUTH_URL
: Auth URL for SwiftStorage
- 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