baldeweg/mission_storage
An app to administer a log file of missions.
Repositories
Requirements
Getting Started
First, you need to install Go.
Download the project archive from the git repository.
Inside the project directory, you can build the app with the go build
command.
Run the command mission_storage
. Depending on the OS you need to add a file extension.
The app will create files where you can edit the missions.
Env vars
Create a .env
file to define some settings.
// .env
ENV=prod
GCP_BUCKET_NAME=name
GOOGLE_APPLICATION_CREDENTIALS=service-account-file.json
CORS_ALLOW_ORIGIN=http://localhost:8081
- ENV - Set to
prod
, dev
or test
- GCP_BUCKET_NAME - If
gcp-bucket
was chosen as storage, then define the bucket name.
- GOOGLE_APPLICATION_CREDENTIALS - Key file, for auth and buckets
- CORS_ALLOW_ORIGIN - Allowed origins