Made with Foundation & Middleman
This project also generates PDF course documents.
- Python & pipenv
- NodeJS & Yarn
- Ruby & Bundler
Install WeasyPrint via pipenv:
$ pipenv install
Install required gems:
$ bundle install
Install default yarn packages:
$ yarn install
Activate Python virtualenv:
$ pipenv shell
Start the server:
$ middleman server
Generate a course PDF:
$ bin/courses generate COURSE_NAME [BASE_URL]
This generates a PDF at the root directory of Courses. Filename is based on the course name.
Before generating a course PDF, you can have a preview of the document in a web browser.
Open a web browser and go to http://localhost:4567/programs/COURSE_NAME.html
. That's it!
Filst time, initialize the submodule:
$ git submodule init
Build the application:
$ middleman build --no-clean
Deploy on GitHub pages:
$ middleman deploy
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Added some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request
Courses is released under two licenses:
- GPL License for sources
- Creative Commons Attribution-ShareAlike License for content