Skip to content

Docker integration #1965

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 121 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
121 commits
Select commit Hold shift + click to select a range
0674ad0
docker integration part 1
JeremyMarshall Jun 6, 2016
d1ca75d
docker base image take 1
JeremyMarshall Jun 7, 2016
c7f4fa5
moved docker submodule fixed docker from version
JeremyMarshall Jun 9, 2016
4fe344d
feat(gen:docker): initial docker subgenerator
JeremyMarshall Jun 6, 2016
c4963fe
feat(gen:docker): add docker base image
JeremyMarshall Jun 7, 2016
b33bc7b
fix(gen:docker): move docker submodule, fixe docker FROM version
JeremyMarshall Jun 9, 2016
34fa10e
Merge branch 'docker-integration' of github.com:angular-fullstack/gen…
JeremyMarshall Jun 13, 2016
4ff8608
refactor(gen:docker): refactor gen code, move template to root templa…
Awk34 Jun 14, 2016
a124d26
fix(gen:docker): export Generator
Awk34 Jun 14, 2016
85c5b63
Merge branch 'docker-integration' of github.com:angular-fullstack/gen…
JeremyMarshall Jun 14, 2016
b2112f5
fix(gen:docker): fix generator export
Awk34 Jun 27, 2016
7aee825
Merge branch 'docker-integration' of github.com:angular-fullstack/gen…
JeremyMarshall Jun 27, 2016
89f8ca8
fix(gen:docker): import genBase
Awk34 Jul 5, 2016
05ea698
Merge branch 'docker-integration' of github.com:angular-fullstack/gen…
JeremyMarshall Jul 6, 2016
088267d
fix(gen:docker): allow for grunt or gulp builds
JeremyMarshall Jul 11, 2016
d020cf5
fix(gen:docker): add docker.md
JeremyMarshall Jul 12, 2016
1ed7426
fix(gen:docker): add update of docker image to ci
JeremyMarshall Jul 13, 2016
4d07449
fix(gen:docker): fix circleci machine
JeremyMarshall Jul 13, 2016
2cd903d
fix(gen:docker): fix path to deployment step
JeremyMarshall Jul 13, 2016
1b9d53a
fix(gen:docker): merge canary
JeremyMarshall Jul 13, 2016
ea1caf2
Merge pull request #2081 from angular-fullstack/canary
Awk34 Jul 22, 2016
d98e2dd
docs(getting-started): add getting-started/index.md
Awk34 Jul 27, 2016
6ae049c
docs(readme): add link to getting started
Awk34 Jul 27, 2016
5d7caf8
docs(readme): simplify usage section
Awk34 Jul 27, 2016
f11336d
chore(package): pin sequelize to a higher version
Awk34 Jul 27, 2016
fe34e78
docs(readme): dont' specify exact node versions in generated readme
Awk34 Jul 27, 2016
13f20ba
docs(getting-started): add step1-overview (stub)
Awk34 Jul 27, 2016
b33a9c7
Merge branch 'canary' into docker-integration
JeremyMarshall Jul 28, 2016
13a4e4f
docs(getting-started): write out the rest of the getting started page
Awk34 Jul 28, 2016
8cc78cf
Merge branch 'master' into docker-integration
JeremyMarshall Jul 30, 2016
065194d
docs(readme): update configurations
Awk34 Aug 2, 2016
a11c986
docs(readme): add note about generator-ng-component
Awk34 Aug 2, 2016
23dc334
docs(index): add note about generator-ng-component
Awk34 Aug 2, 2016
e415041
ci(circle): comment out sauce-connect
Awk34 Aug 2, 2016
649470f
Merge pull request #2095 from angular-fullstack/chore/sqli
Awk34 Aug 2, 2016
318a04f
chore(package): update mocha to version 3.0.0 (#2102)
greenkeeperio-bot Aug 2, 2016
a8990d8
chore(package): update gulp-mocha to version 3.0.0 (#2105)
greenkeeperio-bot Aug 2, 2016
691ffac
chore(package): update should to version 10.0.0 (#2072)
greenkeeperio-bot Aug 3, 2016
616000c
chore(package): update glob to version 7.0.5 (#1995)
greenkeeperio-bot Aug 3, 2016
fd2514e
chore(package): update babel-register to version 6.11.6 (#2089)
greenkeeperio-bot Aug 4, 2016
bc8cd47
chore(package): update lodash to version 4.14.1 (#2098)
greenkeeperio-bot Aug 4, 2016
1b02f47
chore(package): update insight to version 0.8.3 (#2106)
greenkeeperio-bot Aug 4, 2016
ac0648f
chore(server): replace compression with shrink-ray (#2114)
Awk34 Aug 4, 2016
022119a
fix(gulp:build): remove typings task from non-ts
Koslun Aug 5, 2016
3707203
fix(gulp:build): fix crash upon ts type errors
Koslun Aug 5, 2016
f9c75e7
Merge pull request #2120 from angular-fullstack/typings-build
Awk34 Aug 5, 2016
da98690
chore(gulp): update imagemin
Awk34 Jun 12, 2016
346b3be
chore(gulp): switch to new jpeg minifier
Koslun Jul 6, 2016
3375e27
Merge pull request #2007 from angular-fullstack/chore/gulp-imagemin-3
Awk34 Aug 5, 2016
03c1cf5
fix(server): fix dev-only imports (#2124)
Awk34 Aug 6, 2016
1a7100a
chore(package): update node/npm versions in the generated package.jso…
kerimdzhanov Aug 6, 2016
f5988a2
chore(package): remove old unused deps
Awk34 Aug 5, 2016
244cca7
chore(package): exclude bootstrap-styl if !bootstrap
Awk34 Aug 5, 2016
6243f0d
Merge pull request #2122 from angular-fullstack/chore/remove-old-deps
Awk34 Aug 7, 2016
3abd039
chore(package): set istanbul to 1.1.0-alpha.1 (#2035)
Awk34 Aug 8, 2016
65c7655
chore(gen): replace all instances of jade with pug (#2128)
Awk34 Aug 8, 2016
7348858
4.0.0
Awk34 Aug 8, 2016
cd10954
fix(webpack): fix peerDependencies for css loaders (#2131)
Awk34 Aug 8, 2016
f37e214
4.0.1
Awk34 Aug 8, 2016
44084f3
chore(package): update should to version 11.0.0 (#2134)
greenkeeperio-bot Aug 10, 2016
4c12eca
docs(readme): add note about node-gyp
Awk34 Aug 10, 2016
f278ea5
chore(package): bump ui-bootstrap to v2 (#2138)
Awk34 Aug 11, 2016
a76034b
chore(package): bump bootstrap to 3.3.7
Awk34 Aug 11, 2016
1e25de7
feat(gen:gulp): add TODO tasks in gulpfile. rm 2 old grunt tasks
Awk34 Aug 11, 2016
3c20ff0
chore(package): update bootstrap-social to ^5.0.0 (#2139)
Awk34 Aug 11, 2016
da3f054
chore(package): bump angular-validation-match to ^1.9.0 (#2140)
Awk34 Aug 11, 2016
b9abc58
fix(gulp:build): remove protractor typings (#2144)
Awk34 Aug 12, 2016
82d4643
chore(package): update lodash to version 4.15.0 (#2147)
greenkeeperio-bot Aug 12, 2016
a9963b1
chore(package): bump ui-router to ~0.3.1 (#2141)
Awk34 Aug 12, 2016
03ccf56
chore(package): bump flow-bin to 0.30 (#2142)
Awk34 Aug 12, 2016
86f9861
chore(package): update should to version 11.1.0 (#2153)
greenkeeperio-bot Aug 14, 2016
f1e7a87
feat(docs): add daux.io docs
Awk34 Aug 16, 2016
85921be
feat(gen:app): add eslint to the yo write stream
Awk34 Aug 17, 2016
c5ab431
feat(gen:app): run eslint w/ fix on both client & server
Awk34 Aug 17, 2016
5023093
refactor(app): fix eslint errors for default gen
Awk34 Aug 17, 2016
331fb3d
docs(examples): add Modal.md
Awk34 Aug 17, 2016
c606b7b
docs(index): update root doc for 4.0.0
Awk34 Aug 17, 2016
41724a4
ci(circle): try adding docs deployment to circle config
Awk34 Aug 17, 2016
34457bb
docs(readme): strikethough systemjs + jspm
Awk34 Aug 17, 2016
231e500
fix(client:socket.service): import lodash named exports
Awk34 Aug 18, 2016
9f98f7c
Merge pull request #2158 from angular-fullstack/gen-run-eslint-fix
Awk34 Aug 19, 2016
d6fc5f2
docs(examples): add IIS.md
Azayzel Aug 19, 2016
fb38594
ci(circle): ignore gh-pages
Awk34 Aug 20, 2016
01418c5
docs(examples): add heroku deployment
Awk34 Aug 20, 2016
ae4b3ce
clean up #2160
Awk34 Aug 20, 2016
3b695ca
chore(package): update generator-ng-component to version 1.0.2
greenkeeperio-bot Aug 30, 2016
90b5f8e
chore(package): update generator-ng-component to version 1.0.2 (#2191)
Awk34 Aug 31, 2016
8854469
docs(readme): update media paths
Awk34 Aug 31, 2016
cfd1534
docs(readme): remove 4.0.0 beta note
Awk34 Aug 31, 2016
52a2362
chore(package): update bluebird to version 3.4.5 (#2193)
greenkeeperio-bot Aug 31, 2016
6f534fe
4.0.2
Awk34 Sep 1, 2016
5bb43be
fix(gen): fix doc img generation\n\nAdd gulp task to copy images to g…
Awk34 Sep 1, 2016
23d3738
docs(gettingStarted): fill-out Getting Started section more
Awk34 Sep 1, 2016
bae1c86
fix(webpack): fix boostrap-sass import path
antyrat Aug 26, 2016
8e50326
fix(gen:heroku): fix module export, gen base
Awk34 Sep 1, 2016
d3dec09
4.0.3
Awk34 Sep 1, 2016
9806bcd
docs(contributing): add release steps
Awk34 Sep 1, 2016
aa32054
fix(webpack): fix webpack vendor import (#2177)
Awk34 Sep 1, 2016
dd131d9
fix(webpack): conditionally exclude ui-bootstrap
Awk34 Sep 1, 2016
d92cd67
4.0.4
Awk34 Sep 1, 2016
a6b5c3f
chore(package): update babel-plugin-transform-flow-strip-types to ver…
greenkeeperio-bot Sep 1, 2016
de56f41
chore(package): bump some dev deps (#2201)
Awk34 Sep 2, 2016
9ce58e8
fix(client:oauthButtons): add ngInject (#2209)
Awk34 Sep 6, 2016
b530695
fix(socket): add ngInject (#2208)
Awk34 Sep 7, 2016
8fb4aa5
merge master
JeremyMarshall Sep 8, 2016
118ddc4
chore(package): update yeoman-test to version 1.5.0 (#2217)
greenkeeperio-bot Sep 13, 2016
44dccba
fix(heroku): Changed port variable to capital letters so heroku recog…
amygdaloideum Aug 27, 2016
5991a72
fix(server:twitter): make sure IDs are strings
Awk34 Sep 13, 2016
c188229
fix(karma): remove extra `require`
Awk34 Sep 13, 2016
1c2a219
fix(endpoint:controller): fix findOneAndUpdate syntax
Awk34 Sep 13, 2016
3fdf251
chore(package): switch around maintainers
Awk34 Sep 14, 2016
83aab50
Merge branch 'master' of github.com:angular-fullstack/generator-angul…
Awk34 Sep 14, 2016
6223187
docs(prerequisites): add node-gyp info, etc
Awk34 Sep 14, 2016
0911087
docs(gettingStarted:overview): make root section look like the others
Awk34 Sep 14, 2016
94ada70
docs(): set 'devloping' to 02 & 'deployment' to 03
Awk34 Sep 14, 2016
f41e420
fix(client:auth): fix hasOwnProperty instances, fix User usage (#2232)
Awk34 Sep 15, 2016
0ba3235
4.0.5
Awk34 Sep 15, 2016
2633497
docs(changelog): retrofit 3.8.0 changelog
Awk34 Sep 15, 2016
93b5371
chore(package): enforce higher babel plugin versions
Awk34 Sep 15, 2016
1919087
Merge branch 'master' into docker-integration
JeremyMarshall Sep 18, 2016
ab38dd2
fix(gen:docker) remove grunt
JeremyMarshall Sep 18, 2016
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,7 @@ bower_components
demo
.idea
.DS_Store
release.txt
release.txt
static
generator-angular-fullstack.iml
src/generator-angular-fullstack.iml
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
[submodule "angular-fullstack-deps"]
path = angular-fullstack-deps
url = [email protected]:angular-fullstack/angular-fullstack-deps.git
[submodule "angular-fullstack-dockerfile"]
path = angular-fullstack-dockerfile
url = [email protected]:angular-fullstack/angular-fullstack-dockerfile.git
121 changes: 120 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,123 @@
<a name="4.0.5"></a>
## [4.0.5](https://github.com/angular-fullstack/generator-angular-fullstack/compare/4.0.4...v4.0.5) (2016-09-15)


### Bug Fixes

* **client:auth:** fix hasOwnProperty instances, fix User usage ([#2232](https://github.com/angular-fullstack/generator-angular-fullstack/issues/2232)) ([f41e420](https://github.com/angular-fullstack/generator-angular-fullstack/commit/f41e420)), closes [#2232](https://github.com/angular-fullstack/generator-angular-fullstack/issues/2232) [#2212](https://github.com/angular-fullstack/generator-angular-fullstack/issues/2212)
* **client:oauthButtons:** add ngInject ([#2209](https://github.com/angular-fullstack/generator-angular-fullstack/issues/2209)) ([9ce58e8](https://github.com/angular-fullstack/generator-angular-fullstack/commit/9ce58e8)), closes [#2206](https://github.com/angular-fullstack/generator-angular-fullstack/issues/2206)
* **endpoint:controller:** fix findOneAndUpdate syntax ([1c2a219](https://github.com/angular-fullstack/generator-angular-fullstack/commit/1c2a219)), closes [#2221](https://github.com/angular-fullstack/generator-angular-fullstack/issues/2221)
* **heroku:** Changed port variable to capital letters so heroku recognize it ([44dccba](https://github.com/angular-fullstack/generator-angular-fullstack/commit/44dccba)), closes [#2185](https://github.com/angular-fullstack/generator-angular-fullstack/issues/2185)
* **karma:** remove extra `require` ([c188229](https://github.com/angular-fullstack/generator-angular-fullstack/commit/c188229)), closes [#2219](https://github.com/angular-fullstack/generator-angular-fullstack/issues/2219)
* **server:twitter:** make sure IDs are strings ([5991a72](https://github.com/angular-fullstack/generator-angular-fullstack/commit/5991a72)), closes [#1997](https://github.com/angular-fullstack/generator-angular-fullstack/issues/1997)
* **socket:** add ngInject ([#2208](https://github.com/angular-fullstack/generator-angular-fullstack/issues/2208)) ([b530695](https://github.com/angular-fullstack/generator-angular-fullstack/commit/b530695)), closes [#2203](https://github.com/angular-fullstack/generator-angular-fullstack/issues/2203)



<a name="4.0.4"></a>
## [4.0.4](https://github.com/angular-fullstack/generator-angular-fullstack/compare/4.0.3...v4.0.4) (2016-09-01)


### Bug Fixes

* **webpack:**
* conditionally exclude ui-bootstrap ([dd131d9](https://github.com/angular-fullstack/generator-angular-fullstack/commit/dd131d9))
* fix webpack vendor import ([#2177](https://github.com/angular-fullstack/generator-angular-fullstack/issues/2177)) ([aa32054](https://github.com/angular-fullstack/generator-angular-fullstack/commit/aa32054)), closes [#2177](https://github.com/angular-fullstack/generator-angular-fullstack/issues/2177)



<a name="4.0.3"></a>
## [4.0.3](https://github.com/angular-fullstack/generator-angular-fullstack/compare/4.0.2...v4.0.3) (2016-09-01)


### Bug Fixes

* **gen:** fix doc img generation\n\nAdd gulp task to copy images to gh-pages ([5bb43be](https://github.com/angular-fullstack/generator-angular-fullstack/commit/5bb43be))
* **gen:heroku:** fix module export, gen base ([8e50326](https://github.com/angular-fullstack/generator-angular-fullstack/commit/8e50326)), closes [#2148](https://github.com/angular-fullstack/generator-angular-fullstack/issues/2148)
* **webpack:** fix boostrap-sass import path ([bae1c86](https://github.com/angular-fullstack/generator-angular-fullstack/commit/bae1c86))



<a name="4.0.2"></a>
## [4.0.2](https://github.com/angular-fullstack/generator-angular-fullstack/compare/4.0.1...v4.0.2) (2016-09-01)


### Bug Fixes

* **client:socket.service:** import lodash named exports ([231e500](https://github.com/angular-fullstack/generator-angular-fullstack/commit/231e500))
* **gulp:build:** remove protractor typings ([#2144](https://github.com/angular-fullstack/generator-angular-fullstack/issues/2144)) ([b9abc58](https://github.com/angular-fullstack/generator-angular-fullstack/commit/b9abc58))


### Features

* **docs:** add daux.io docs ([f1e7a87](https://github.com/angular-fullstack/generator-angular-fullstack/commit/f1e7a87))
* **gen:app:**
* add eslint to the yo write stream ([85921be](https://github.com/angular-fullstack/generator-angular-fullstack/commit/85921be)), closes [#2157](https://github.com/angular-fullstack/generator-angular-fullstack/issues/2157)
* run eslint w/ fix on both client & server ([c5ab431](https://github.com/angular-fullstack/generator-angular-fullstack/commit/c5ab431))
* **gen:gulp:** add TODO tasks in gulpfile. rm 2 old grunt tasks ([1e25de7](https://github.com/angular-fullstack/generator-angular-fullstack/commit/1e25de7))



<a name="4.0.0"></a>
## [4.0.0](https://github.com/angular-fullstack/generator-angular-fullstack/compare/3.7.6...v4.0.0) (2016-08-08)


## Notable Changes

### [Webpack](http://webpack.github.io/)
* No more Bower
* Webpack is a Module Bundler for the front-end.
* Everything starts in `client/app.js`. It imports (using CommonJS / ES2015 imports) everything else needed from there.
* Whenever we create a new Angular 1 module, we export its name, and import that name in another module up the tree, all the way to `client/app.js`. This design pattern allows for easy lazy-loading.

### Gulp v Grunt
Grunt has been removed.
* Gulp is significantly faster to run
* Gulp focuses on programmatic configuration, which makes it a breeze to configure compared to Grunt's JSON-config-focused configuration.
* Gulp development is much more active, with Gulp 4.0.0 hopefully being released soon.

### ESLint
JSHint + JSCS have been replaced with ESLint. ESLint provides a gigantic amount of rules, and is easily pluggable with many plugins. It uses Espree. Also, JSCS has merged with ESLint.

### Types
Flow support has been added. TypeScript type errors have been fixed.

### Async/Sync Auth methods
The following methods from the client Auth service have been split into two: `getCurrentUser`, `isLoggedIn`, `hasRole`, `isAdmin`. The reason that these methods could be both synchronous and asynchronous depending on how many arguments were passed is because they were called from Angular templates. Now, the Angular templates call the sync form of these methods (e.x. `getCurrentUserSync`), and the original functions are now only async.

### Constants
The task runner no longer takes care of creating an Angular module for config constants. It is taken care of by webpack now (the `shared.js` files is now just `require`d)

### Endpoint PUT/PATCH
PUT now defaults to an upsert. PATCH now actually does an HTTP PATCH.

### -Livereload +Browsersync
Livereload has been removed in favor of [Browsersync](https://www.browsersync.io/)



<a name="3.8.0"></a>
# [3.8.0](https://github.com/angular-fullstack/generator-angular-fullstack/compare/3.7.6...v3.8.0) (2016-09-15)


### Bug Fixes

* **authorization:** header workaround for IE11 ([2362103](https://github.com/angular-fullstack/generator-angular-fullstack/commit/2362103)), closes [#2051](https://github.com/angular-fullstack/generator-angular-fullstack/issues/2051)
* **endpoint:controller:** wrap saveUpdates in an if(entity) statement ([31c0a79](https://github.com/angular-fullstack/generator-angular-fullstack/commit/31c0a79)), closes [#2052](https://github.com/angular-fullstack/generator-angular-fullstack/issues/2052) [#2059](https://github.com/angular-fullstack/generator-angular-fullstack/issues/2059)
* **grunt:**
* add comma ([485c44b](https://github.com/angular-fullstack/generator-angular-fullstack/commit/485c44b))
* run express:prod on production port ([aac61b2](https://github.com/angular-fullstack/generator-angular-fullstack/commit/aac61b2)), closes [#1814](https://github.com/angular-fullstack/generator-angular-fullstack/issues/1814)
* **gulp:** fix plain css generation ([#2013](https://github.com/angular-fullstack/generator-angular-fullstack/issues/2013)) ([54479fc](https://github.com/angular-fullstack/generator-angular-fullstack/commit/54479fc)), closes [#2013](https://github.com/angular-fullstack/generator-angular-fullstack/issues/2013)
* **gulpfile:** gulp-filter[@4](https://github.com/4).0.0 need "dot:true" option ([1fbf24b](https://github.com/angular-fullstack/generator-angular-fullstack/commit/1fbf24b)), closes [#2146](https://github.com/angular-fullstack/generator-angular-fullstack/issues/2146) [#2151](https://github.com/angular-fullstack/generator-angular-fullstack/issues/2151)
* **server:** return express stuff ([81ea8fa](https://github.com/angular-fullstack/generator-angular-fullstack/commit/81ea8fa))


### Features

* **gen:** add configurable ports ([#2005](https://github.com/angular-fullstack/generator-angular-fullstack/issues/2005)) ([50e6d0c](https://github.com/angular-fullstack/generator-angular-fullstack/commit/50e6d0c))



<a name="3.7.6"></a>
## [3.7.6](https://github.com/angular-fullstack/generator-angular-fullstack/compare/3.7.5...v3.7.6) (2016-06-21)

Expand All @@ -8,7 +128,6 @@
* Bumped a few generator dependencies



<a name="3.7.5"></a>
## [3.7.5](https://github.com/angular-fullstack/generator-angular-fullstack/compare/3.7.4...v3.7.5) (2016-06-02)

Expand Down
43 changes: 0 additions & 43 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -261,49 +261,6 @@ module.exports = function (grunt) {
}
});

grunt.registerTask('updateFixtures', 'updates package and bower fixtures', function(target) {
var genVer = require('./package.json').version;
var dest = __dirname + ((target === 'deps') ? '/angular-fullstack-deps/' : '/test/fixtures/');
var appName = (target === 'deps') ? 'angular-fullstack-deps' : 'tempApp';

var processJson = function(s, d) {
// read file, strip all ejs conditionals, and parse as json
var json = JSON.parse(fs.readFileSync(path.resolve(s), 'utf8').replace(/<%(.*)%>/g, ''));
// set properties
json.name = appName, json.version = genVer;
if (target === 'deps') { json.private = false; }
// stringify json and write it to the destination
fs.writeFileSync(path.resolve(d), JSON.stringify(json, null, 2));
};

processJson('templates/app/_package.json', dest + 'package.json');
processJson('templates/app/_bower.json', dest + 'bower.json');
});

grunt.registerTask('installFixtures', 'install package and bower fixtures', function() {
var done = this.async();

shell.cd('test/fixtures');
grunt.log.ok('installing npm dependencies for generated app');
child_process.exec('npm install --quiet', {cwd: '../fixtures'}, function (error, stdout, stderr) {

grunt.log.ok('installing bower dependencies for generated app');
child_process.exec('bower install', {cwd: '../fixtures'}, function (error, stdout, stderr) {

if(!process.env.SAUCE_USERNAME) {
grunt.log.ok('running npm run-script update-webdriver');
child_process.exec('npm run-script update-webdriver', function() {
shell.cd('../../');
done();
});
} else {
shell.cd('../../');
done();
}
})
});
});

grunt.registerTask('test', function(target, option) {
if (target === 'fast') {
grunt.task.run([
Expand Down
2 changes: 1 addition & 1 deletion ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ etc | etc
Item | Answer
----- | -----
Transpiler | Babel / TypeScript
Markup | HTML / Jade
Markup | HTML / Pug
CSS | CSS / LESS / SCSS / Stylus
Router | ngRoute / ui-router
Client Tests | Jasmine / Mocha
Expand Down
2 changes: 1 addition & 1 deletion angular-fullstack-deps
1 change: 1 addition & 0 deletions angular-fullstack-dockerfile
13 changes: 13 additions & 0 deletions circle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ machine:
post:
- npm install -g gulp-cli

- wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
- sudo sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list'
- sudo apt-get update
- sudo apt-get install google-chrome-stable

## Customize checkout
checkout:
post:
Expand All @@ -29,6 +34,14 @@ notify:
# gitter hook
- url: https://webhooks.gitter.im/e/ac3980c61cb722b9e789

## Deployments
deployment:
docker:
# update the upstream dockerfile after a push
branch: [master, docker-integration]
commands:
- generator-angular-fullstack/angular-fullstack-dockerfile/create_branch.sh

test:
pre:
- cd sc-*-linux && ./bin/sc --user $SAUCE_USERNAME --api-key $SAUCE_ACCESS_KEY --readyfile ~/sauce_is_ready:
Expand Down
41 changes: 41 additions & 0 deletions daux/templates/content.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
<?php $this->layout('theme::layout/05_page') ?>
<article class="Page">
<?php if ($params['html']['date_modified']) {
?>
<div class="Page__header">
<h1><?= $page['breadcrumbs'] ? $this->get_breadcrumb_title($page, $base_page) : $page['title'] ?></h1>
</div>
<?php

} else {
?>
<div class="Page__header">
<h1><?= $page['breadcrumbs'] ? $this->get_breadcrumb_title($page, $base_page) : $page['title'] ?></h1>
</div>
<?php

} ?>

<div class="s-content">
<?= $page['content']; ?>
</div>

<?php if (!empty($page['prev']) || !empty($page['next'])) {
?>
<nav>
<ul class="Pager">
<?php if (!empty($page['prev'])) {
?><li class=Pager--prev><a href="<?= $base_url . $page['prev']->getUrl() ?>">Previous</a></li><?php

} ?>
<?php if (!empty($page['next'])) {
?><li class=Pager--next><a href="<?= $base_url . $page['next']->getUrl() ?>">Next</a></li><?php

} ?>
</ul>
</nav>
<?php

} ?>
</article>

11 changes: 11 additions & 0 deletions daux/templates/error.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?php $this->layout('theme::layout/05_page') ?>

<article class="Page">
<div class="Page__header">
<h1><?= $page['title']; ?></h1>
</div>

<div class="s-content">
<?= $page['content']; ?>
</div>
</article>
85 changes: 85 additions & 0 deletions daux/templates/home.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
<?php $this->layout('theme::layout/00_layout') ?>
<div class="Navbar hidden-print">
<div class="container">
<?php $this->insert('theme::partials/navbar_content', ['params' => $params]); ?>
</div>
</div>

<?php if ($params['html']['repo']) {
?>
<a href="https://github.com/<?= $params['html']['repo']; ?>" target="_blank" id="github-ribbon" class="Github hidden-print"><img src="https://s3.amazonaws.com/github/ribbons/forkme_right_darkblue_121621.png" alt="Fork me on GitHub"></a>
<?php

} ?>

<div class="Homepage">
<div class="HomepageTitle container">
<?php if ($params['tagline']) {
echo '<h2>' . $params['tagline'] . '</h2>';
} ?>
</div>

<div class="HomepageImage container">
<?php if ($params['image']) {
echo '<img class="homepage-image img-responsive" src="' . $params['image'] . '" alt="' . $params['title'] . '">';
} ?>
</div>

<div class="HomepageButtons">
<div class="container">
<?php
if ($params['html']['repo']) {
echo '<a href="https://github.com/' . $params['html']['repo'] . '" class="Button Button--secondary Button--hero">View On GitHub</a>';
}
foreach ($page['entry_page'] as $key => $node) {
echo '<a href="' . $node . '" class="Button Button--primary Button--hero">' . $key . '</a>';
}
?>
<div class="clearfix"></div>
</div>
</div>
</div>

<div class="HomepageContent">
<div class="container">
<div class="container--inner">
<div class="doc_content s-content">
<?= $page['content']; ?>
</div>
</div>
</div>
</div>

<div class="HomepageFooter">
<div class="container">
<div class="container--inner">
<?php if (!empty($params['html']['links'])) {
?>
<ul class="HomepageFooter__links">
<?php foreach ($params['html']['links'] as $name => $url) {
echo '<li><a href="' . $url . '" target="_blank">' . $name . '</a></li>';
} ?>
</ul>
<?php

} ?>

<?php if (!empty($params['html']['twitter'])) {
?>
<div class="HomepageFooter__twitter">
<?php foreach ($params['html']['twitter'] as $handle) {
?>
<div class="Twitter">
<iframe allowtransparency="true" frameborder="0" scrolling="no" style="width:162px; height:20px;" src="https://platform.twitter.com/widgets/follow_button.html?screen_name=<?= $handle; ?>&amp;show_count=false"></iframe>
</div>
<?php

} ?>
</div>
<?php

} ?>
</div>
</div>
<div class="clearfix"></div>
</div>
Loading