Skip to content

Commit

Permalink
sets up demo site (#17)
Browse files Browse the repository at this point in the history
closes #2
  • Loading branch information
Zach Zibrat authored Jul 6, 2016
1 parent c8123aa commit 388f59e
Show file tree
Hide file tree
Showing 9 changed files with 40 additions and 36 deletions.
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,5 @@ npm-debug.log
testem.log

/.vscode
.vscodeignore
.vscodeignore
jsconfig.json
/typings
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Changelog
32 changes: 15 additions & 17 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,28 +1,26 @@
# ember-sparkles

[![Build Status](https://travis-ci.org/LocusEnergy/ember-sparkles.svg?branch=master)](https://travis-ci.org/LocusEnergy/ember-sparkles)
[![npm version](https://badge.fury.io/js/ember-sparkles.svg)](http://badge.fury.io/js/ember-sparkles)
[![Dependency Status](https://david-dm.org/locusenergy/ember-sparkles.svg)](https://david-dm.org/locusenergy/ember-sparkles)
[![Ember Observer Score](http://emberobserver.com/badges/ember-sparkles.svg)](http://emberobserver.com/addons/ember-sparkles)

# Ember-sparkles
## Features

This README outlines the details of collaborating on this Ember addon.

## Installation

* `git clone` this repository
* `npm install`
* `bower install`

## Running

* `ember server`
* Visit your app at http://localhost:4200.
```
ember install ember-sparkles
```

## Running Tests
## Helpful Links

* `npm test` (Runs `ember try:testall` to test your addon against multiple Ember versions)
* `ember test`
* `ember test --server`
- ### [Live Demo](http://locusenergy.github.io/ember-sparkles/)

## Building
- ### [Changelog](CHANGELOG.md)

* `ember build`
## Looking for help?
If it is a bug [please open an issue on GitHub](http://github.com/LocusEnergy/ember-sparkles/issues).

For more information on using ember-cli, visit [http://ember-cli.com/](http://ember-cli.com/).
## Usage
11 changes: 0 additions & 11 deletions config/ember-try.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,6 @@ module.exports = {
dependencies: { }
}
},
{
name: 'ember-1.13',
bower: {
dependencies: {
'ember': '~1.13.0'
},
resolutions: {
'ember': '~1.13.0'
}
}
},
{
name: 'ember-release',
bower: {
Expand Down
12 changes: 12 additions & 0 deletions config/release.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,18 @@

// For details on each option run `ember help release`
module.exports = {
init: function() {
this._previousVersion = require('../package.json').version;
},

afterPush: function(project, tags) {
runCommand('ember genie:changelog --write=true --version=' + this._previousVersion + ' --new-version=' + tags.next, true);
},

afterPublish: function(project, versions) {
runCommand('ember github-pages:commit --message "Released ' + versions.next + '"', true);
runCommand('git push origin gh-pages:gh-pages', true);
},
// local: true,
// remote: 'some_remote',
// annotation: "Release %@",
Expand Down
10 changes: 7 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,14 @@
"scripts": {
"build": "ember build",
"start": "ember server",
"test": "ember try:each"
"test": "ember try:each",
"deploy": "ember github-pages:commit --message \"Deploy gh-pages from commit $(git rev-parse HEAD)\"; git push; git checkout -"
},
"repository": "https://github.com/LocusEnergy/ember-sparkles",
"engines": {
"node": ">= 0.10.0"
},
"author": "Zachary Zibrat, Taras Mankovski, Locus Energy",
"author": "zigahertz <[email protected]>, embersherpa <[email protected]>",
"license": "MIT",
"devDependencies": {
"broccoli-asset-rev": "^2.4.2",
Expand All @@ -24,6 +25,7 @@
"ember-cli-app-version": "^1.0.0",
"ember-cli-dependency-checker": "^1.2.0",
"ember-cli-eslint": "1.6.0",
"ember-cli-github-pages": "0.1.0",
"ember-cli-htmlbars-inline-precompile": "^0.3.1",
"ember-cli-inject-live-reload": "^1.4.0",
"ember-cli-qunit": "^2.0.0",
Expand All @@ -39,6 +41,7 @@
"ember-interpolate-helper": "0.1.1",
"ember-load-initializers": "^0.5.1",
"ember-lodash": "0.0.7",
"ember-pagefront": "0.11.1",
"ember-resolver": "^2.0.3",
"loader.js": "^4.0.1"
},
Expand All @@ -59,6 +62,7 @@
"ember-truth-helpers": "1.2.0"
},
"ember-addon": {
"configPath": "tests/dummy/config"
"configPath": "tests/dummy/config",
"demoURL": "http://locusenergy.github.io/ember-sparkles/"
}
}
2 changes: 1 addition & 1 deletion tests/dummy/app/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Dummy</title>
<title>Ember Sparkles</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">

Expand Down
3 changes: 2 additions & 1 deletion tests/dummy/config/environment.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ module.exports = function(environment) {
}

if (environment === 'production') {

ENV.locationType = 'hash';
ENV.rootURL = '/ember-sparkles/';
}

return ENV;
Expand Down
2 changes: 1 addition & 1 deletion tests/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Dummy Tests</title>
<title>Ember Sparkles</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">

Expand Down

0 comments on commit 388f59e

Please sign in to comment.