separating deardesi/desirae
This commit is contained in:
parent
d587b5a770
commit
227951cbf7
|
@ -0,0 +1,24 @@
|
||||||
|
{ "node": true
|
||||||
|
, "browser": true
|
||||||
|
, "jquery": true
|
||||||
|
|
||||||
|
, "indent": 2
|
||||||
|
, "onevar": true
|
||||||
|
, "laxcomma": true
|
||||||
|
, "laxbreak": true
|
||||||
|
|
||||||
|
, "eqeqeq": true
|
||||||
|
, "immed": true
|
||||||
|
, "undef": true
|
||||||
|
, "unused": true
|
||||||
|
, "latedef": true
|
||||||
|
, "globals": { "angular": true }
|
||||||
|
|
||||||
|
, "bitwise": true
|
||||||
|
, "curly": true
|
||||||
|
, "forin": true
|
||||||
|
, "freeze": true
|
||||||
|
, "immed": true
|
||||||
|
|
||||||
|
, "funcscope": false
|
||||||
|
}
|
53
README.md
53
README.md
|
@ -1,5 +1,56 @@
|
||||||
# dear.desi
|
Dear Desi
|
||||||
|
=========
|
||||||
|
|
||||||
A nice, friendly tool to help you get set up and start blogging with Desirae
|
A nice, friendly tool to help you get set up and start blogging with Desirae
|
||||||
|
|
||||||
Front-end written in AngularJS, back-end in Node.js
|
Front-end written in AngularJS, back-end in Node.js
|
||||||
|
|
||||||
|
Install and Usage
|
||||||
|
=================
|
||||||
|
|
||||||
|
If you're on OS X or Linux, it's as easy as pie to install and use Desirae.
|
||||||
|
|
||||||
|
First install node.js, if you haven't already.
|
||||||
|
|
||||||
|
```bash
|
||||||
|
# Install node.js/io.js v0.11.14+
|
||||||
|
|
||||||
|
echo "v0.11.14" > /tmp/NODE_VER
|
||||||
|
curl -fsSL bit.ly/easy-install-node | bash
|
||||||
|
```
|
||||||
|
|
||||||
|
Then install deardesi
|
||||||
|
|
||||||
|
```bash
|
||||||
|
npm install -g deardesi
|
||||||
|
```
|
||||||
|
|
||||||
|
And create a copy of the desirae-seed
|
||||||
|
|
||||||
|
```
|
||||||
|
git clone git@github.com:DearDesi/desirae-blog-template.git ~/my-desirae-blog
|
||||||
|
pushd ~/my-desirae-blog
|
||||||
|
|
||||||
|
git submodule init
|
||||||
|
git submodule update
|
||||||
|
```
|
||||||
|
|
||||||
|
And now fire up Dear Desi to get started
|
||||||
|
|
||||||
|
```
|
||||||
|
deardesi ~/my-desirae-blog 65080
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
|
Once you've done the initial setup, you can run deardesi from the commandline
|
||||||
|
|
||||||
|
```
|
||||||
|
deardesi ~/my-desirae-blog ~/my-desirae-blog/compiled
|
||||||
|
```
|
||||||
|
|
||||||
|
Create a new Post
|
||||||
|
-----------------
|
||||||
|
|
||||||
|
```
|
||||||
|
deardesi post "My First Post"
|
||||||
|
```
|
||||||
|
|
10
bower.json
10
bower.json
|
@ -20,7 +20,7 @@
|
||||||
"browser"
|
"browser"
|
||||||
],
|
],
|
||||||
"license": "Apache2",
|
"license": "Apache2",
|
||||||
"homepage": "http://github.com/coolaj86/deardesi",
|
"homepage": "http://github.com/DearDesi/deardesi",
|
||||||
"ignore": [
|
"ignore": [
|
||||||
"**/.*",
|
"**/.*",
|
||||||
"node_modules",
|
"node_modules",
|
||||||
|
@ -29,22 +29,14 @@
|
||||||
"tests"
|
"tests"
|
||||||
],
|
],
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"mustache": "~0.8.2",
|
|
||||||
"bluebird": "~2.6.2",
|
|
||||||
"rsvp": "~3.0.16",
|
|
||||||
"escape-string-regexp": "~1.0.2",
|
"escape-string-regexp": "~1.0.2",
|
||||||
"js-yaml": "~3.2.5",
|
|
||||||
"path": "~3.46.1",
|
"path": "~3.46.1",
|
||||||
"forEachAsync": "~5.0.5",
|
"forEachAsync": "~5.0.5",
|
||||||
"node-uuid": "~1.4.2",
|
"node-uuid": "~1.4.2",
|
||||||
"markdown-it": "~3.0.2",
|
|
||||||
"angular": "~1.3.8",
|
"angular": "~1.3.8",
|
||||||
"angular-route": "~1.3.8",
|
"angular-route": "~1.3.8",
|
||||||
"html5-boilerplate": "~4.3.0",
|
"html5-boilerplate": "~4.3.0",
|
||||||
"bootstrap": "~3.3.1",
|
"bootstrap": "~3.3.1",
|
||||||
"md5": "~0.1.3"
|
"md5": "~0.1.3"
|
||||||
},
|
|
||||||
"resolutions": {
|
|
||||||
"bluebird": "~2.6.2"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -0,0 +1,121 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<!--[if lt IE 7]> <html lang="en" ng-app="myApp" class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
|
||||||
|
<!--[if IE 7]> <html lang="en" ng-app="myApp" class="no-js lt-ie9 lt-ie8"> <![endif]-->
|
||||||
|
<!--[if IE 8]> <html lang="en" ng-app="myApp" class="no-js lt-ie9"> <![endif]-->
|
||||||
|
<!--[if gt IE 8]><!--> <html lang="en" ng-app="myApp" class="no-js"> <!--<![endif]-->
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
||||||
|
|
||||||
|
<title>Dear Desi - Static Blog Generator</title>
|
||||||
|
<meta name="description" content="Desirae is a static blog generator that is built for the browser and also works in node.js">
|
||||||
|
|
||||||
|
<!-- Style -->
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
|
<link rel="stylesheet" href="bower_components/html5-boilerplate/css/normalize.css">
|
||||||
|
<link rel="stylesheet" href="bower_components/html5-boilerplate/css/main.css">
|
||||||
|
<link rel="stylesheet" href="bower_components/bootstrap/dist/css/bootstrap.min.css"><!-- just as a fallback -->
|
||||||
|
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootswatch/3.3.1/spacelab/bootstrap.min.css">
|
||||||
|
|
||||||
|
<script src="bower_components/html5-boilerplate/js/vendor/modernizr-2.6.2.min.js"></script>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
|
||||||
|
<!--[if lt IE 7]>
|
||||||
|
<p class="browsehappy">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> to improve your experience.</p>
|
||||||
|
<![endif]-->
|
||||||
|
|
||||||
|
<!--.navbar.navbar-default.navbar-fixed-top-->
|
||||||
|
<div style="margin-bottom: 0; border-top-width: 0;" class="navbar navbar-default">
|
||||||
|
<div class="container">
|
||||||
|
<div class="navbar-header">
|
||||||
|
<div style="padding-top: 9px; padding-left: 9px; padding-bottom: 9px;" class="pull-left"><img ng-src="http://dropsha.re/files/VY15+v8/desirae-parker-crop.jpg" style="border: 1px solid grey; height: 54px; width: 54px;" class="navbar-logo"/></div><a href="#/" style="padding-top: 23px; padding-left: 25px;" class="navbar-brand">Desirae</a>
|
||||||
|
|
||||||
|
<div style="padding-top: 9px;">
|
||||||
|
<button type="button" ng-init="navCollapsed = true" ng-click="navCollapsed = !navCollapsed" class="navbar-toggle"><span class="icon-bar"></span><span class="icon-bar"></span><span class="icon-bar"></span></button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div id="navbar-main" ng-class="!navCollapsed && 'in'" class="navbar-collapse collapse">
|
||||||
|
<ul style="padding-top: 9px;" class="nav navbar-nav">
|
||||||
|
<li><a href="#/authors">Authors</a></li>
|
||||||
|
<li><a href="#/site">Site</a></li>
|
||||||
|
<li><a href="#/post">Post</a></li>
|
||||||
|
<li><a href="#/build">Build</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div ng-view></div>
|
||||||
|
|
||||||
|
<footer>
|
||||||
|
<center>
|
||||||
|
<p>
|
||||||
|
<!-- http://googlewebmastercentral.blogspot.com/2009/02/specify-your-canonical.html -->
|
||||||
|
<!-- also needs updating at http://plus.google.com/me/about/edit/co -->
|
||||||
|
<a href="mailto:develop@dear.desi" rel="me">develop@dear.desi</a>
|
||||||
|
|
|
||||||
|
<a href="https://twitter.com/dearbesiblog?rel=author" rel="me">Twitter</a>
|
||||||
|
<!--a href="https://www.facebook.com/coolaj86?rel=author" rel="me">Facebook</a-->
|
||||||
|
|
|
||||||
|
<a href="https://github.com/DearDesi/desirae?rel=author" rel="me">Github</a> (v<span app-version></span>)
|
||||||
|
<!--a href="https://plus.google.com/111222501744950155474?rel=author" data-user="AJ ONeal" rel="me">Google+</a -->
|
||||||
|
|
|
||||||
|
<a href="#screencast" rel="me">YouTube</a>
|
||||||
|
|
|
||||||
|
<a href="http://www.apache.org/licenses/LICENSE-2.0">Apache 2 License</a>
|
||||||
|
|
|
||||||
|
<a href="http://opensource.org/licenses/MIT">MIT License</a>
|
||||||
|
</p>
|
||||||
|
<p>© AJ ONeal Tech LLC 2015
|
||||||
|
with help from
|
||||||
|
<a href="http://angularjs.org" target="_blank" title="Superheroic JavaScript MVW Framework">AngularJS</a>,
|
||||||
|
<a href="http://nodejs.org" target="_blank"
|
||||||
|
title="Open source, cross-platform server-side JavaScript runtime environment">node.js</a>,
|
||||||
|
and <a href="http://twitter.github.com/bootstrap/" target="_blank">Twitter Bootstrap</a>
|
||||||
|
</p>
|
||||||
|
</center>
|
||||||
|
</footer>
|
||||||
|
|
||||||
|
<!-- fork me on github sticker -->
|
||||||
|
<a href="https://github.com/DearDesi/desirae"><img style="position: absolute; top: 0; right: 0; border: 0;" src="https://camo.githubusercontent.com/365986a132ccd6a44c23a9169022c0b5c890c387/68747470733a2f2f73332e616d617a6f6e6177732e636f6d2f6769746875622f726962626f6e732f666f726b6d655f72696768745f7265645f6161303030302e706e67" alt="Fork me on GitHub" data-canonical-src="https://s3.amazonaws.com/github/ribbons/forkme_right_red_aa0000.png"></a>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<!-- Deps -->
|
||||||
|
<script src="./bower_components/bluebird/js/browser/bluebird.js"></script>
|
||||||
|
<script src="./bower_components/mustache/mustache.js"></script>
|
||||||
|
<script src="./bower_components/markdown-it/dist/markdown-it.js"></script>
|
||||||
|
<script src="./bower_components/js-yaml/dist/js-yaml.js"></script>
|
||||||
|
<script src="./bower_components/path/path.js"></script>
|
||||||
|
<script src="./bower_components/node-uuid/uuid.js"></script>
|
||||||
|
<script src="./bower_components/forEachAsync/forEachAsync.js"></script>
|
||||||
|
|
||||||
|
<!-- Libs -->
|
||||||
|
<script src="./lib/deardesi-utils.js"></script>
|
||||||
|
<script src="./lib/verify-config.js"></script>
|
||||||
|
<script src="./lib/deardesi-browser.js"></script>
|
||||||
|
<script src="./lib/frontmatter.js"></script>
|
||||||
|
|
||||||
|
<!-- Desi -->
|
||||||
|
<script src="./deardesi.js"></script>
|
||||||
|
|
||||||
|
<!-- UX Using Angular, but not getting fancy -->
|
||||||
|
<script src="./bower_components/angular/angular.js"></script>
|
||||||
|
<script src="./bower_components/angular-route/angular-route.js"></script>
|
||||||
|
<script src="./bower_components/md5/build/md5.min.js"></script>
|
||||||
|
<script src="./app.js"></script>
|
||||||
|
<script src="./views/about/about.js"></script>
|
||||||
|
<script src="./views/authors/authors.js"></script>
|
||||||
|
<script src="./views/site/site.js"></script>
|
||||||
|
<script src="./views/configure/configure.js"></script>
|
||||||
|
<script src="./views/build/build.js"></script>
|
||||||
|
<script src="./views/post/post.js"></script>
|
||||||
|
<script src="components/desirae/desirae.js"></script>
|
||||||
|
<script src="components/version/version.js"></script>
|
||||||
|
<script src="components/version/version-directive.js"></script>
|
||||||
|
<script src="components/version/interpolate-filter.js"></script>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
Loading…
Reference in New Issue