Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tonymtz/almond
for fun
https://github.com/tonymtz/almond
Last synced: 4 days ago
JSON representation
for fun
- Host: GitHub
- URL: https://github.com/tonymtz/almond
- Owner: tonymtz
- License: mit
- Created: 2017-05-24T22:41:38.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-05-26T02:04:42.000Z (over 7 years ago)
- Last Synced: 2024-10-16T19:54:04.515Z (28 days ago)
- Language: Go
- Homepage:
- Size: 21.5 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Almond
[ ![Codeship Status for tonymtz/almond](https://app.codeship.com/projects/4f4db340-2342-0135-1185-229ae24d69ea/status?branch=master)](https://app.codeship.com/projects/221937)
[![codecov](https://codecov.io/gh/tonymtz/almond/branch/master/graph/badge.svg?token=sf0qEs1thZ)](https://codecov.io/gh/tonymtz/almond)## Installation
### Requirements
- Golang v1.8
- Docker v17.03#### Postgresql
1. Let docker do the magic: `$ docker-compose up` 🐳
2. Ready to rock on port `5433`Note: This is not following default port for postgres, however the migrations script is aware of this. Worry not.
#### Golang
golang packages required for development:
- [govendor](https://github.com/kardianos/govendor): `$ go get -u github.com/kardianos/govendor`
- [goose](https://bitbucket.org/liamstask/goose/): `$ go get bitbucket.org/liamstask/goose/cmd/goose`Install vendors:
```bash
$ govendor sync
```Run migrations (requires postgres service, check docker composer):
```bash
$ goose up
```### Compiling
```bash
$ go run main.go
```Open your browser and navigate to [http://localhost:3000](http://localhost:3000)
### Testing
```bash
$ govendor test +l,^p [-cover]
```Ready to hack!