mission_storage

command module
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 12, 2022 License: MIT Imports: 4 Imported by: 0

README

baldeweg/mission_storage

An app to administer a log file of missions.

Repositories

Requirements

  • Golang
  • Docker

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

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
controller
export
mission

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL