Code Monkey home page Code Monkey logo

ember-cli-deploy-original's Introduction

#ember-cli-deploy

An Ember-CLI addon for lightening fast deployment of applications

##Motivation

This addon was inspired by Luke Melia's RailsConf 2014 presentation - Lightning Fast Deployment of Your Rails-backed JavaScript app.

##Synopsis

This plugin is designed to aid in the deployment workflow of an Ember CLI application. The worflow is designed to follow on from a successful ember build command and runs as follows:

  • Create an Ember CLI build
  • Deploy assets to S3
  • Deploy index.html to Redis
  • (At some point afterwards) Activate a released index.html to be the current live version

##Installation

From within your Ember CLI application, run:

npm install --save-dev ember-cli-deploy

##Configuration

Any of the command line options passed in to the following commands can alternatively be either exported as environment variables or specified in a .env file.

Simply change the option flag to be UPPERCASED and UNDER_SCORED, eg:

--redis-host would be specified as REDIS_HOST

ember deploy:index

This command is responsible for pushing your index.html file to a Redis instance.

###Usage

ember deploy:index <options>

###Options

####--dist-dir (optional) Default: dist

Should point to the dist directory that contains the built index.html.

####--redis-host (required)

The host server of the Redis instance to deploy the index.html to.

####--redis-port (required)

The host port of the Redis instance to deploy the index.html to.

####--redis-password (optional) Default: null

The password of the Redis instance to deploy the index.html to.

##Tests

To run the tests, run:

npm test

##Honourable Mentions

The following sites have contributed in some way, shape or form in the creation of this addon.

Contributing

In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality.

##Maintainers

Release History

ember-cli-deploy-original's People

Contributors

achambers avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.