|AJ ONeal 416484db42 v0.8.6: update links, deps, and license||2 months ago|
|bin||4 years ago|
|components||4 years ago|
|example||4 years ago|
|views||4 years ago|
|.gitignore||4 years ago|
|.gitmodules||4 years ago|
|.jshintrc||4 years ago|
|LICENSE||4 years ago|
|README.md||2 months ago|
|app.js||4 years ago|
|bower.json||1 year ago|
|desirae-http-api.js||4 years ago|
|favicon.ico||4 years ago|
|index.html||4 years ago|
|package.json||2 months ago|
|server.js||4 years ago|
|setup.sh||4 years ago|
If you’re a normal person interested in Desi, the DIY blog platform for normal people, you might have meant to go to DearDesi instead.
Otherwise, if you’re a cyborg, wizzard, or web developer: carry on.
These instructions cover the command line only.
If you want instructions for the web interface, head over to DearDesi.
This assumes that you already have
otherwise see node-installer.sh
# Install with distributed tools on a decentralized system npm install -g 'git+https://git.daplie.com/Daplie/deardesi.git#v1' # Install with the centralized, concentrated hypocrinet npm install -g desi
That was easy
Note: both through command line and web you need
authors/xyz.yml configured in order to create a post (as well as build).
The post commands output the location of post in various formats.
You can do this 3 ways:
desi init -d ~/Desktop/blog
# initialize (and or create) a blog directory desi init -d ~/Desktop/blog # initialize the current directory pushd ~/Desktop/blog desi init
Note that you cannot initialize a directory that is already in use (where ‘in use’ means has at least one non-dotfile).
There are a number of themes available at https://github.com/DearDesi, just look for ones with ‘theme’ in the description.
git clone email@example.com:DearDesi/desirae-blog-template.git ~/my-desirae-blog pushd ~/my-desirae-blog git submodule add firstname.lastname@example.org:DearDesi/ruhoh-bootstrap-2.git themes/ruhoh-bootstrap-2
You will need to make sure that you have some details about your theme in
Basically that means that you specify a
and which defaults for a
post in the
Just open it up, it’ll make sense.
Obviously this is a little different for everyone, so here’s what I’d recommend:
config.ymlto add a config with a permalink with your collections (posts, articles, essays, whatever you call them)
desi build -d /path/to/blogto test if there are any issues with your existing yaml
page.urlthat might have an extra
/at the beginning or end or be named slightly differently.
See https://github.com/DearDesi/desirae/blob/master/GLOSSARY.md for disambiguation about the meaning of terms in Desi.
authors/YOUR_NAME.ymland model it after this example
site.yml, similar to this example
site.yml.base_url- the point of ownership (usually blog.example.com or example.com)
site.yml.base_path- where the blog is “mounted”, relative to the
authors/me.yml.name- most templates use this
authors/me.yml.email- and this
authors/me.yml.twitter- and this
The build will fail if you don’t have
desi build -d /path/to/blog desi serve -d /path/to/blog
Now open up your evergreen browser to http://local.dear.desi:65080