potatosync

command module
v0.0.0-...-5c8e363 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2020 License: GPL-3.0 Imports: 9 Imported by: 0

README

Potatosync

This is a custom API for supporting the PotatoNotes app, which can be found here on GitHub, and can be downloaded from the play store. If you feel like contributing, feel free to send a PR our way.

Actions Status

Building

The project has a Makefile conveniently set up for building the project and its docker image. We use scratch containers and add only the binary, instead of building the binary inside the container. This is done to reduce image size.

To build the project, you must first have the following dependencies -

  • make
  • Go version 1.11 and onwards
  • docker

To install all package dependencies, run make dep.

To build the binary, run make build

To build the docker image with the binary, run make img-build

Note: You MUST have built the binary to be able to build the docker image.

Self-Hosting

In order to host the api yourself you need to follow these steps:

wget https://raw.githubusercontent.com/ATechnoHazard/potatosync/master/docker-compose.yml
  • Download the .env file
wget https://raw.githubusercontent.com/ATechnoHazard/potatosync/master/docker.env
  • Run docker-compose in the directory where you downloaded the file
sudo docker-compose up
  • You should now be up and running!

Contributing

We are grateful for any and all contributions, so feel free to send a PR our way! Just remember to gofmt often, and document as much as you can.

Get it on Google Play

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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