Skip to content

Commit

Permalink
Open source!
Browse files Browse the repository at this point in the history
  • Loading branch information
alindeman committed Oct 20, 2013
1 parent a5def4a commit d863015
Show file tree
Hide file tree
Showing 3 changed files with 50 additions and 2 deletions.
5 changes: 5 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
CC BY 3.0
<http://creativecommons.org/licenses/by/3.0/>

Linking to <https://github.com/alindeman/upgradingtorails4> and
<http://upgradingtorails4.com> is appropriate for attribution.
43 changes: 43 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# Upgrading To Rails 4

An e-book covering the deprecations, new features and common upgrading
scenarios facing developers upgrading from Rails 3 to Rails 4.

Originally written by [Andy Lindeman](http://andylindeman.com) and now released
under [CC BY 3.0](http://creativecommons.org/licenses/by/3.0/).

Where should you go from here?
* Buy the PDF, ePub, and mobi versions of book at
<http://upgradingtorails4.com>. **Proceeds since the book was open sourced
will be donated to <http://cfy.org/>.** You'll receive periodic updates
as the content is updated in this repository.
* [Build the book yourself](#build-toolchain).
* Contribute to the book. [Pull requests
accepted](https://github.com/alindeman/upgradingtorails4/pulls).

## Build Toolchain

[kitabu](https://github.com/fnando/kitabu) can export ePub and HTML by default.

```bash
$ bundle install
$ bundle exec kitabu export
$ ls output/
```

As you're hacking on the book, you can have it generate automatically:

```bash
$ bundle exec guard
```

### PDF

PrinceXML is required to build the PDF version of the book. A trial version is
available at [princexml.com](http://www.princexml.com/download/).

### mobi

KindleGen is required to build the mobi version of the book. KindleGen can be
downloaded [from
Amazon](http://www.amazon.com/gp/feature.html?docId=1000765211).
4 changes: 2 additions & 2 deletions config/kitabu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ language: en
# This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivs 3.0 Unported License.
# This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License.
#
copyright: "Copyright (C) 2012 Andy Lindeman."
copyright: "Copyright (C) 2012-2013 Andy Lindeman. Licensed under CC BY 3.0."

# Who's publishing this book.
publisher: "Andy Lindeman"
Expand Down Expand Up @@ -41,4 +41,4 @@ authors:
- "Andy Lindeman"

# The base URL from your source code.
base_url: http://example.com
base_url: https://github.com/alindeman/upgradingtorails4

0 comments on commit d863015

Please sign in to comment.