This is the repo for my personal website, askesian.net.
The development branch is used for, well, development, and a gulp task is used to deploy the files to the master branch. This keeps the master branch clean, such that it only contains the files that are needed to display the website. All of the files for building, compiling, and optimizing are kept in the development branch.
The application makes use of the following high-level technologies and frameworks:
- Ruby
- Jekyll
- Node.js
- Gulp
Because of the technologies used in this application, the application has the following prerequisites that must be met before you can install and run the application:
- Ruby
- Node.js
- Bundler (Ruby gem)
To install the app, you must have Ruby and Node.js installed. Additionally, you must have the Bundler Ruby gem installed.
- Clone this repo to a new folder on your machine:
> git clone git@github.com:askesian/askesian.github.com.git ~/projects/MyWebApp- Ensure that you have Ruby and Node.js installed:
> ruby -v
ruby 1.9.3p551 (2014-11-13 revision 48407) [x86_64-darwin14.3.0]
> node -v
v0.12.2- Install the
BundlerRuby gem. Run the following from the console:
> gem install bundler- Now that you have Ruby, Node.js, and the
BundlerRuby gem installed, run the following from the console:
> bundle install
> npm installThese commands will install the Ruby gems required by the project, as well as the Node.js npm modules.
The application makes use of several commands that can be run from the console. These commands primarily control the state of the application, as well as the deployment of the application to a GitHub repository of you choice. After all of the installation steps have been completed, you should be able to run one or more of the following commands from the console:
- npm run gulp
- npm run build
- npm run build:production
- npm run deploy
TODO: Explain this command
TODO: Explain this command
TODO: Explain this command
TODO: Explain this command