Hi! This is the source code for my blog. It uses the Ruby statis web site generator Jekyll and a bunch of Node.js, Ruby, and Python scripts.
- A place I can write blog posts.
You can run ./script/bootstrap
in the project path to setup your environment.
The following is a step by step guide for developing my blog.
- Ruby
- Bundler -
sudo gem install bundler
- Bundler -
- Node.js
- Bower -
sudo yarn global add bower
- Grunt -
sudo yarn global add grunt-cli
- Bower -
- Python 3.5
- awesome-slugify -
sudo pip3 install awesome-slugify
- python-frontmatter -
sudo pip3 install python-frontmatter
- PyYAML -
sudo pip3 install PyYAML
- awesome-slugify -
$ git clone git@github.com:myles/mylesbraithwaite.com.git mylesbraithwaite.com
$ cd mylesbraithwaite.com
mylesbraithwaite.com $
Install the Ruby dependencies:
mylesbraithwaite.com $ bundle install
Install the Node.js dependencies:
mylesbraithwaite.com $ yarn install
Install the Bower assets:
mylesbraithwaite.com $ bower install
grunt build
or ./script/build
grunt develop
or ./script/server
grunt deploy
or ./script/deploy
https://staging.mylesbraithwaite.com
grunt deploy:prod