Discover Packages
github.com/itoto/golerts
command
module
Version:
v0.0.0-...-295e688
Opens a new window with list of versions in this module.
Published: Nov 1, 2016
License: MIT
Opens a new window with license information.
Imports: 11
Opens a new window with list of imports.
Imported by: 0 modules, 0 packages
The first number is the count of modules that contain a package that imports this one.
The module count is a better indicator of popularity than the package count.
A module with 100 importing packages is counted only once instead of 100 times,
reflecting the fact that the choice to use the package was likely made only once,
not 100 times.
A '?' means that the value hasn't been computed yet.
Opens a new window with list of known importers.
README
README
¶
Golerts
A simple RESTful Notification service written in Go. This will primarily be used with iOS push notifications
Setup
This application is configured to run on Heroku. As such, there are some steps
to follow to get it running in your local.
Remove the .git directory and create a fresh one for your project
$ rm -rf .git
$ git init .
Install Heroku Toolbelt:
Via Homebrew:
$ brew install heroku
Or Via Heroku
Create your .env file
$ cp env.example .env
Update any values in .env as needed
Run the application locally
$ go install && heroku local
Deploying
Assuming you have the proper heroku app setup + git remote
Remove vendor and Godeps from .gitignore
Save and commit dependencies
$ godep save
$ git commit -am "initial import of dependencies for heroku"
Deploy
$ git push heroku [BRANCH]:master
Migrations
You can run the migrations an seeds located in the migrates directory to get your database in the most recent state.
NB: After release, new migrate and seeds files should be created to incremental updates
Expand ▾
Collapse ▴
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.