https://github.com/integralist/ruby-static-site-generator
A super basic site template generator (main purpose was to let me play around with Ruby)
https://github.com/integralist/ruby-static-site-generator
Last synced: 4 months ago
JSON representation
A super basic site template generator (main purpose was to let me play around with Ruby)
- Host: GitHub
- URL: https://github.com/integralist/ruby-static-site-generator
- Owner: Integralist
- Created: 2013-03-16T21:19:20.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2013-04-06T20:09:27.000Z (about 13 years ago)
- Last Synced: 2024-12-31T13:43:20.099Z (over 1 year ago)
- Language: Ruby
- Size: 105 KB
- Stars: 0
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Ruby-Static-Site-Generator
==========================
A super basic site template generator (main purpose was to let me play around with Ruby)
##To run
Open up your terminal and enter: `rake build`
Enter in the full directory path to where you want the files created (or just press 'enter' to default to the Desktop)
Then enter the name of your project.
The rake task will then go away and create the following site structure...
- assets
- images
- styles
- base.css
- scripts
- require.js
- bootstrap.js
- index.html
- humans.txt
...open up the `Rakefile` file to change the structure/files created by the rake task.
##Notes
Yes you could quite easily just set-up a GitHub repo and `git clone` it whenever you need your basic site set-up, but the whole point of this repo was for me to get an excuse to play around with Ruby.
##TODO
I need to clean up the code as it's a bit of a mess. Because it's a rake task it doesn't need full blown Object-Oriented code design but it could be a lot better.