Browse code

simplified readme. pointing to the wiki for more detail

B Mathis authored on 13/11/2009 at 18:54:32
Showing 1 changed files
... ...
@@ -19,81 +19,54 @@ Octopress gives developers a well designed starting point for a Jekyll blog. It'
19 19
 - [Rsync](http://samba.anu.edu.au/rsync/) for easy deployment
20 20
 
21 21
 ## Setup
22
-#### First, clone Octopress locally.
23
-    git clone git://github.com/imathis/octopress.git
24
-#### Second, install required gems
22
+Setup is really simple.
23
+  
24
+1. Download Octopress: <code>git clone git://github.com/imathis/octopress.git</code>
25
+2. Install required gems:
25 26
     sudo gem install henrik-jekyll
26
-    sudo gem install compass-edge
27
+    sudo gem install compass
27 28
     sudo gem install fssm
28 29
     sudo gem install serve
30
+3. Run <code>rake preview</code> to build the site and preview it in a local webserver.
29 31
 
30
-#### Third
31
-1. Edit the top of the Rakefile settings to match your web hosting info.
32
-2. Customize the top of the atom.haml and _layout/default.haml.
32
+You'll want to change some settings, so check out the [Setup & Configurations wiki page](http://wiki.github.com/imathis/octopress/setup-configuration)
33 33
 
34 34
 ## Usage
35
-You should really read over the [Jekyll wiki](http://wiki.github.com/mojombo/jekyll) because most of your work will be using Jekyll. Beyond that Octopress is mostly some rake tasks, HAML, and SASS/Compass that has been meticulously crafted for ease of use and modification.
35
+Octopress is almost like a front-end for Jekyll. It provides some really handy rake tasks and automation to make blogging as simple as possible. With Octopress you can:
36 36
 
37
-### Common Rake tasks
38
-**rake preview**  
39
-Generates the site, starts the local web server, and opens your browser to show the generated site.
37
+- Preview the site locally with the power of Serve.
38
+- Automatically regenerate your blog while you work.
39
+- Generate and deploy with a single command.
40 40
 
41
-**rake watch**  
42
-Watches the source for changes and regenerates the site every time you save a file. You'll forget your working with a static site.
43
-
44
-**rake deploy**  
45
-Generates the site and then uses rsync (based on your configurations in the Rakefile) to synchronize with your web host. In order to use rsync you'll need shell access to your host, and you'll probably want to use your public key for authentication.
46
-
47
-**rake stop_serve**  
48
-Kills the local web server process.
49
-
50
-*There are more but these are the ones you'll use the most. Read the Rakefile if you want to learn more*
41
+See the [usage wiki page](http://wiki.github.com/imathis/octopress/usage) to learn more.
51 42
 
52 43
 ## Third Party Integration
53
-### Twitter
54
-Twitter settings are at the top of _layouts/default.haml
55
-You can also change:
56
-
57
-    twitter_user: your_twitter_name
58
-    show_replies: false
59
-    tweet_count: 3
60
-
61
-### Disqus Comments
62
-Octopress has built in support for the Disqus commenting system, using the "universal code" installation method. First register your site at [http://disqus.com/comments/register/](http://disqus.com/comments/register/) Then, edit the settings at the top of _layouts/default.haml
63
-
64
-    full_url: http://yoursite.com
65
-    disqus_short_name: yourdisqusname
66
-
67
-### Google Custom Search
68
-First setup a custom search for your site at [http://google.com/cse/](http://google.com/cse/) then add your google\_custom\_search\_id to the YAML block in the default layout.
69
-
70
-### Google Analytics
71
-The analytics tracking scripts are already integrated into Octopress, all you have to do is register your site at [http://google.com/analytics/](http://google.com/analytics/).
72
-
73
-### Removing Third party integrations
74
-All third party integration is conditionally included. All you have to do is remove the variable from the layout and you're done. If you like, you can also remove the include blocks from the default layout.
44
+With search, comments, and analytics, you have no need for a database. This is what makes a statically generated blog possible.
75 45
 
76
-## Style Configuration
77
-### What you need to know
78
-Octopress's stylesheets are written in [SASS](http://sass-lang.com). If you haven't learned SASS, you should. It's the future. Octopress also uses [Compass](http://compass-style.org) which is a framework for SASS and contains a great library of SASS mixins which make it trivial to write complicated CSS. This is also the future.
46
+- Twitter
47
+- Disqus Comments
48
+- Google Custom Search
49
+- Google Analytics
50
+- Delicious Bookmarks
79 51
 
80
-### Customizing the default theme
81
-The default theme is comprised of Layout, Typography, Theme, and Partials. Octopress also has a library of SASS mixins.
52
+If you already have an account with these services, you can get set up within seconds. [Check out the wiki](http://wiki.github.com/imathis/octopress/third-party-integration) to learn how to setup or remove these services.
82 53
 
83
-**Layout**  
84
-Edit the variables at the top of /stylesheets/_layout.sass to configure the primary structural dimensions, including the header, footer, main content, and sidebar.
54
+## Octopress Style
55
+- Stylesheets use [SASS](http://sass-lang.com) and [Compass](http://compass-style.org)
56
+- They're broken up into Layout, Typography, Theme (colors), and Partials
57
+- Checkout [the wiki](http://wiki.github.com/imathis/octopress/style-customization) for help with customization.
85 58
 
86
-**Typography**  
87
-Octopress puts a strong focus on readability and borrows some concepts from the [better web readability project](http://code.google.com/p/better-web-readability-project/). As a result the base font size is 16px. Don't worry though, if you don't like that, you can simply change the variable !base\_font\_size at the top of /stylesheets/_typography.sass and all of the other typographic math (heading sizes, line-heights, margins, etc) will be resized to suit automatically.
59
+## License
60
+(The MIT License)
88 61
 
89
-If you want to add or modify site-wide typography, this is the file to do it in. If your changes are specific to a small section or feature of your site, you should probably add that under *Partials*.
62
+Copyright © 2009 Brandon Mathis
90 63
 
91
-Octopress ships with a typography test page /test/typography.html that lets you preview the default typographic styles, and see how your changes affect them.
64
+Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the ‘Software’), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
92 65
 
93
-**Theme**  
94
-Every color used in Octopress is assigned to a variable in _theme.sass, so you can change them to suit your tastes without having to dig through a bunch of files to find the color your looking for. Also the colors variables are grouped by their location in the site layout to make them easier to find.
66
+The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
95 67
 
96
-**Partials**  
97
-These are the styles for subsections of the site. They're located in /stylesheets/partials and each subsection has it's own file. Here you'll find styles for the sidebar, blog posts, syntax highlighting, and specific page elements that don't belong in the base layout files.
68
+THE SOFTWARE IS PROVIDED ‘AS IS’, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
98 69
 
99
-Octopress ships with a syntax highlighting test page /test/syntax.html that lets you preview the default syntax highlighting styles, and see how your changes affect them.
100 70
\ No newline at end of file
71
+#### If you want to be awesome.
72
+- Proudly display the 'Powered by Octopress' credit in the footer.
73
+- Add your site to the wiki so we can watch the community grow.
101 74
\ No newline at end of file