golerts

command module
v0.0.0-...-295e688 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2016 License: MIT Imports: 11 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.

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.

  1. Remove the .git directory and create a fresh one for your project

    $ rm -rf .git
    $ git init .
    
  2. Install Heroku Toolbelt:

    Via Homebrew:

    $ brew install heroku
    

    Or Via Heroku

  3. Create your .env file

    $ cp env.example .env
    
  4. Update any values in .env as needed

  5. Run the application locally

    $ go install && heroku local
    

Deploying

Assuming you have the proper heroku app setup + git remote

  1. Remove vendor and Godeps from .gitignore

  2. Save and commit dependencies

    $ godep save
    $ git commit -am "initial import of dependencies for heroku"
    
  3. 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

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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