polka

command module
v0.0.0-...-63ab0d9 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2015 License: MPL-2.0 Imports: 6 Imported by: 0

README

GoDoc Build Status

Totally experimental still - use at your own risk :-)

The following is getting dangerously close to actually working_ This is README driven development, e.g. write how you want the readme to work first, then implement the code.

Quick Start

This does not work yet...

$ brew tap INSERT_TAP
$ brew install polka
$ cd ~/code
$ polka new todo_app
$ cd todo_app
$ ???

Examples

Setup

What needs to be setup for polka to work?

  • AWS Services
  • AWS IAM users/roles/policies

AWS Credentials

Currently, polka assumes your AWS credentials are configured. E.g., it assumes:

  • Your credentials exist at ~/.aws/credentials ( See this AWS blog post on setting up your credentials )

Polka Commands

$ polka

usage: polka [--version] [--help] <command> [<args>]

Available commands are:
    config      configure a global polka app item
    deploy      deploys a polka app to AWS
    doc         Generates documentation for your polka app
    generate    generates lambda functions for endpoints
    new         creates a new polka app
    version     Prints the Polka version

Documentation

Overview

Package main provides the entry point for the polka web application generator.

Directories

Path Synopsis
Package command provides all the commands that can be executed by polka.
Package command provides all the commands that can be executed by polka.
Package config handles the lambda configuration - both loading and saving config files from disk.
Package config handles the lambda configuration - both loading and saving config files from disk.
Package homeplate provides utilities for dealing with ~/.dirname (hidden configuration directories).
Package homeplate provides utilities for dealing with ~/.dirname (hidden configuration directories).
Package utils contains polka specific utility functions.
Package utils contains polka specific utility functions.

Jump to

Keyboard shortcuts

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