A fill in the blank version of the Gettysburg Address.
Gettysburg Address text taken from abrahamlincolnonline.org, cited source of Collected Works of Abraham Lincoln, edited by Roy P. Basler.
No data processing was used in this project. There was manual choosing of words to use for blanks.
All commands are assumed to on the command line, often called the Terminal, unless otherwise noted. The following will install technologies needed for the other steps and will only needed to be run once on your computer so there is a good chance you already have these technologies on your computer.
- Install Git.
- On a Mac, install Homebrew, then do:
brew install git
- On a Mac, install Homebrew, then do:
- Install NodeJS.
- On a Mac, do:
brew install node
- On a Mac, do:
- Optionally, for development, install Grunt:
npm install -g grunt-cli - Install Bower:
npm install -g bower - Install Ruby, though it is probably already installed on your system.
- Install Bundler:
gem install bundler - Install Sass:
gem install sass- On a Mac do:
sudo gem install sass
- On a Mac do:
- Install Compass:
gem install compass- On a Mac do:
sudo gem install compass
- On a Mac do:
Get the code for this project and install the necessary dependency libraries and packages.
- Check out this code with Git:
git clone https://github.com/MinnPost/minnpost-gettysburg-address.git - Go into the template directory:
cd minnpost-gettysburg-address - Install NodeJS packages:
npm install - Install Bower components:
bower install
- Get pump primed with:
grunt - Run:
grunt server- This will run a local webserver for development and you can view the application in your web browser at http://localhost:8814.
- Utilize
index.htmlfor development, whileindex-deploy.htmlis used for the deployed version, andindex-build.htmlis used to test the build before deployment. - The server runs
grunt watchwhich will watch for linting JS files and compiling SASS. If you have your own webserver, feel free to use that with just this command.
To build or compile all the assets together for easy and efficient deployment, do the following. It will create all the files in the dist/ folder.
- Run:
grunt
Deploying will push the relevant files up to Amazon's AWS S3 so that they can be easily referenced on the MinnPost site. This is specific to MinnPost, and your deployment might be different.
- Run:
grunt deploy