Kevin 55cc8eca71 Drone CI: Build and publish (#1)
* Build and publish to ghcr with drone CI

* Sign drone config file

* Updated build step name

* Allow publish on this branch for testing

* Try set image source label to ghcr

* Update label image source structure

* Remove git suffix of container source

* Remove ci branch from allowed publish branches
2022-12-03 16:31:38 +01:00
2022-12-03 16:31:38 +01:00
2022-12-02 18:26:29 +01:00
2022-12-02 18:26:29 +01:00
2022-12-03 16:31:38 +01:00

Planetposen email sender

App for sending emails related to planetposen webshop. Currently only supports sending order confirmations emails after purchase.

Setup

From source:

  1. git clone https://github.com/kevinmidboe/planetposen-mail
  2. cp .env.example .env
  3. Update variables in .env file
  4. make install

Run

Run api from command line with:

make server

Run as docker container using:

(sudo) docker run -d --name planetposen-mail -p 8000:8000 \
    -e PORT=8000
    -e SEND_GRID_API_ENDPOINT="https://api.sendgrid.com"
    -e SEND_GRID_API_KEY="sg.nE3..."

or

(sudo) docker run -d --name planetposen-mail -p 8000:8000 --env-file .env planetposen-mail

Preview

Use view template as preview during local development run:

make preview
Description
No description provided
Readme 162 KiB
Languages
Go 92.9%
Makefile 4.5%
Dockerfile 2.6%