From charlesreid1

 
(65 intermediate revisions by 2 users not shown)
Line 1: Line 1:
=Installing: First Try=
==Angular Projects on Github==


See [[Angular/FirstTry]] page.
I have a couple of angular projects on Github.


=Installing: Trying Again=
===Dang-Pelican-Barebones===


<pre>
This is a barebones, starting-point repository for creating projects that use Pelican to manage sites that have D3 and Angular components.
sudo apt-get install nodejs
</pre>


Now repeat the installation procedure, but this time, set it up so that npm installs into your home directory [http://stackoverflow.com/questions/18212175/npm-yeoman-install-generator-angular-without-sudo] (that way, we don't have to deal with sudo):
'''Bonus:''' This repository also contains a very clean, very simple Pelican theme.


<pre>
Github Pages site: http://charlesreid1.github.io/dang-pelican-barebones
echo prefix = ~/.node >> ~/.npmrc
</pre>


Then add to .profile:
Github Repository: http://github.com/charlesreid1/dang-pelican-barebones


<pre>
===Sea Budgets===
export PATH="$PATH:$HOME/.node/bin"
</pre>


And if you want to start from scratch, you just remove ~/.node and start over.
This is a repository illustrating how to use dang-pelican-barebones, and extends its capabilities to cover iPython Notebooks. It uses the simple theme from the dang-pelican-barebones repository.


==Install Grunt and Bower==
Github repository: https://github.com/charlesreid1/sea-budgets


Now use npm to install grunt and bower, without sudo!
Github Pages site: http://charlesreid1.github.io/sea-budgets/


<pre>
===dang sunburst===
$ npm install -g grunt-cli
/home/charles/.node/bin/grunt -> /home/charles/.node/lib/node_modules/grunt-cli/bin/grunt
grunt-cli@0.1.13 /home/charles/.node/lib/node_modules/grunt-cli
├── nopt@1.0.10 (abbrev@1.0.5)
├── resolve@0.3.1
└── findup-sync@0.1.3 (lodash@2.4.1, glob@3.2.11)
</pre>


<pre>
Using dang-pelican-barebones to explore D3 sunburst charts:
$ npm install -g bower
/home/charles/.node/bin/bower -> /home/charles/.node/lib/node_modules/bower/bin/bower
bower@1.3.12 /home/charles/.node/lib/node_modules/bower
├── is-root@1.0.0
├── junk@1.0.1
├── stringify-object@1.0.1
├── which@1.0.9
├── abbrev@1.0.5
├── chmodr@0.1.0
├── osenv@0.1.0
├── archy@0.0.2
├── opn@1.0.1
├── rimraf@2.2.8
├── bower-logger@0.2.2
├── lru-cache@2.5.0
├── bower-endpoint-parser@0.2.2
├── graceful-fs@3.0.6
├── lockfile@1.0.0
├── nopt@3.0.1
├── retry@0.6.0
├── tmp@0.0.23
├── q@1.0.1
├── request-progress@0.3.0 (throttleit@0.0.2)
├── chalk@0.5.0 (ansi-styles@1.1.0, escape-string-regexp@1.0.3, supports-color@0.2.0, strip-ansi@0.3.0, has-ansi@0.1.0)
├── shell-quote@1.4.3 (array-filter@0.0.1, array-map@0.0.0, array-reduce@0.0.0, jsonify@0.0.0)
├── semver@2.3.2
├── bower-json@0.4.0 (intersect@0.0.3, deep-extend@0.2.11, graceful-fs@2.0.3)
├── fstream@1.0.4 (inherits@2.0.1)
├── p-throttler@0.1.0 (q@0.9.7)
├── promptly@0.2.0 (read@1.0.5)
├── mkdirp@0.5.0 (minimist@0.0.8)
├── bower-config@0.5.2 (osenv@0.0.3, graceful-fs@2.0.3, optimist@0.6.1)
├── fstream-ignore@1.0.2 (inherits@2.0.1, minimatch@2.0.4)
├── tar-fs@0.5.2 (pump@0.3.5, tar-stream@0.4.7)
├── decompress-zip@0.0.8 (nopt@2.2.1, mkpath@0.1.0, touch@0.0.2, readable-stream@1.1.13, binary@0.3.0)
├── request@2.42.0 (caseless@0.6.0, json-stringify-safe@5.0.0, aws-sign2@0.5.0, forever-agent@0.5.2, stringstream@0.0.4, oauth-sign@0.4.0, tunnel-agent@0.4.0, qs@1.2.2, node-uuid@1.4.3, mime-types@1.0.2, form-data@0.1.4, http-signature@0.10.1, bl@0.9.4, tough-cookie@0.12.1, hawk@1.1.1)
├── glob@4.0.6 (inherits@2.0.1, once@1.3.1, minimatch@1.0.0)
├── bower-registry-client@0.2.4 (graceful-fs@2.0.3, request-replay@0.2.0, lru-cache@2.3.1, async@0.2.10, mkdirp@0.3.5, request@2.51.0)
├── cardinal@0.4.0 (redeyed@0.4.4)
├── mout@0.9.1
├── update-notifier@0.2.0 (semver-diff@0.1.0, string-length@0.1.2, latest-version@0.2.0, configstore@0.3.2)
├── handlebars@2.0.0 (optimist@0.3.7, uglify-js@2.3.6)
├── inquirer@0.7.1 (figures@1.3.5, through@2.3.6, mute-stream@0.0.4, readline2@0.1.1, lodash@2.4.1, cli-color@0.3.3, rx@2.4.7)
└── insight@0.4.3 (object-assign@1.0.0, async@0.9.0, chalk@0.5.1, lodash.debounce@2.4.1, os-name@1.0.3, tough-cookie@0.12.1, configstore@0.3.2, inquirer@0.6.0)
</pre>


Github repository: http://github.com/charlesreid1/dang-sunburst/


==Get Angular==
Github Pages site: http://charlesreid1.github.io/dang-sunburst/


<pre>
===dang bars===
git clone "git@github.com:angular/angular.js.git"
</pre>


Exploring D3 bar graphs using dang-pelican-barebones


==Build Angular==
Github repository: https://github.com/charlesreid1/dang-bars


Start here:
Github Pages site: http://charlesreid1.github.io/dang-bars/


<pre>
==Older But Still Useful Repositories==
cd angular.js
</pre>


===Build Node Dependencies===
===A Shrubbery===


<pre>
A Shrubbery is a repository that uses Angular to manage combined maps and D3 graphs. Like Archimedes Pelican, this does not implement a new Pelican theme from scratch, but rather uses a pared-down (and less simple) version of the default.
# Install node.js dependencies:
npm install
</pre>


===Install Bower Components===
Github Pages link: http://charlesreid1.github.io/a-shrubbery/


<pre>
Github repository: https://github.com/charlesreid1/a-shrubbery
# Install bower components:
bower install
</pre>


===Build Angular===
===Archimedes Pelican===


<pre>
This is a repository that demonstrates the use of Pelican to manage sites that have Javascript components, specifically D3 and Angular.
# Build AngularJS:
 
grunt package
This repository was created first, so the theme was just a stripped down version of the default, and therefore less simple than the dang-pelican-barebones repository.
</pre>
 
Github Pages site: http://charlesreid1.github.io/archimedes-pelican/
 
Github repository: http://github.com/charlesreid1/archimedes-pelican
 
=References=
 
[[Category:Javascript]]
[[Category:Github]]
[[Category:Angular]]

Latest revision as of 09:30, 16 April 2017

Angular Projects on Github

I have a couple of angular projects on Github.

Dang-Pelican-Barebones

This is a barebones, starting-point repository for creating projects that use Pelican to manage sites that have D3 and Angular components.

Bonus: This repository also contains a very clean, very simple Pelican theme.

Github Pages site: http://charlesreid1.github.io/dang-pelican-barebones

Github Repository: http://github.com/charlesreid1/dang-pelican-barebones

Sea Budgets

This is a repository illustrating how to use dang-pelican-barebones, and extends its capabilities to cover iPython Notebooks. It uses the simple theme from the dang-pelican-barebones repository.

Github repository: https://github.com/charlesreid1/sea-budgets

Github Pages site: http://charlesreid1.github.io/sea-budgets/

dang sunburst

Using dang-pelican-barebones to explore D3 sunburst charts:

Github repository: http://github.com/charlesreid1/dang-sunburst/

Github Pages site: http://charlesreid1.github.io/dang-sunburst/

dang bars

Exploring D3 bar graphs using dang-pelican-barebones

Github repository: https://github.com/charlesreid1/dang-bars

Github Pages site: http://charlesreid1.github.io/dang-bars/

Older But Still Useful Repositories

A Shrubbery

A Shrubbery is a repository that uses Angular to manage combined maps and D3 graphs. Like Archimedes Pelican, this does not implement a new Pelican theme from scratch, but rather uses a pared-down (and less simple) version of the default.

Github Pages link: http://charlesreid1.github.io/a-shrubbery/

Github repository: https://github.com/charlesreid1/a-shrubbery

Archimedes Pelican

This is a repository that demonstrates the use of Pelican to manage sites that have Javascript components, specifically D3 and Angular.

This repository was created first, so the theme was just a stripped down version of the default, and therefore less simple than the dang-pelican-barebones repository.

Github Pages site: http://charlesreid1.github.io/archimedes-pelican/

Github repository: http://github.com/charlesreid1/archimedes-pelican

References