An open API service indexing awesome lists of open source software.

https://github.com/mohammadne/pillar

Base code for Go application with CI and deployments added
https://github.com/mohammadne/pillar

Last synced: about 1 month ago
JSON representation

Base code for Go application with CI and deployments added

Awesome Lists containing this project

README

          

# Pillar


GitHub Workflow Status
Release

Codecov

License
Starts
Downloads

## Introduction

Simple Go application for using as starting point for writing Go applications.

## Usage

1. Clone the repository

```bash
git clone git@github.com:mohammadne/pillar.git
```

2. Change the remote git-origin (replace your own)

```bash
REMOTE_ORIGIN="git@github.com:mohammadne/pillar.git"
git remote set-url origin $REMOTE_ORIGIN
```

3. Update package-name (replace your own)

```bash
REPLACE="username/repository"
LC_ALL=C find . -type f -not -path ".git/*" -exec sed -i "s#mohammadne/pillar#$REPLACE#g" {} +
```

4. Update command descriptions

```bash
vim main.go
vim cmd/server.go
```

5. Update deployment name and create helm charts

```bash
cd ./deployments

# update
vim ./tearup.sh
vim ./teardown.sh

# replace your own application name.
helm create pillar

# update folder names based on the commands.
mv -rf ./pillar ./server
```

6. Update or delete this README.md file based on your needs