pagoda-jekyll 0.0.8 → 0.0.9

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- N2I4MzRlYTlhNDcyYjNjM2NhZWM4ZTljOWJmY2VmZTllOGRlMTU0YQ==
4
+ MjBkZGRjOGIwMmM2ZGQwMjAxMzJlYjY2ODJjMjIzM2YxYTBiZmRlNg==
5
5
  data.tar.gz: !binary |-
6
- Y2UwZTQ4ZTZkZTljNDdiYWJhNGZkZmVlNjQ5YTE5NjNkZDU0OTE3MQ==
6
+ NmY1NzJjM2NiNzUyZDFiZGQwZjA3NDU5NTk1ZTA1YzhhMGVkODg1NQ==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- OGNjNTJlNjZjNzQwODdlZWY1NTRkYjllNTFlNzViOTAwYzk0NGU5ODRjYjkx
10
- ZGM3NmNiZjc1NjM0OTNiYWMzMWIzMTA5MzFmYzAzZDc1ZjY1NWQzNmQ0NmQ1
11
- ZTIyOTk0MmE5NTAwZGE0OWExZTQwM2Q2NmU5Y2VmMWZiMTVkODQ=
9
+ M2Y3OTlhYTZiZDA5ZDkzY2Y4MmUwMWQwMjc1YjZmZDhjNDAyODNiOTMwNTIz
10
+ Y2U5ODUyNjZmYTEyYzU2ZWQzZWFhYmExZjU4MDg1NDYwN2I2NTM0NjgzYTFl
11
+ YjdmODI3ZGM5OTI3NDE1ZTI0NTJlZjQzMjViZDRiYTJlYjlmZjU=
12
12
  data.tar.gz: !binary |-
13
- NjRiNWQ1YTU1ZGVmN2Q4NjgyZjcxZjE2NjFkMjk3YzMzNTBhMTY3MGNjMGFl
14
- MzM4NjFiMDEyM2YxOWM2MmY4ZTQ4YjA3MTI1MDA2ZTI2ZDM0ZjFlN2YwNWVl
15
- MzhjOTc5NGYyMjYyMzI5ZDAzN2Y0OTUzMDVlOGVjMmEzMGYwNjI=
13
+ M2E0ZTQ4ZGM4NmU0NWNmYjNiOTM1ZTc4MjU0ZThjYWQ1OGJmMmI5MmYyNzc2
14
+ ZDI3ZGM3MDg5NTVlMzIzM2E5YTJlODU3YjExYmE0NDM1Mzk2MGMzYzNkYjFk
15
+ NDg4YWZlODg0MjQ5NGE1OWVhMjIzZDcwMjRhMDA1NjgyMWE5ZDc=
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- pagoda-jekyll (0.0.7)
4
+ pagoda-jekyll (0.0.8)
5
5
  grit
6
6
  jekyll
7
7
  json
@@ -53,7 +53,7 @@ GEM
53
53
  liquid (~> 2.3)
54
54
  maruku (~> 0.5)
55
55
  pygments.rb (~> 0.3.2)
56
- json (1.7.7)
56
+ json (1.8.0)
57
57
  kramdown (0.14.2)
58
58
  liquid (2.5.0)
59
59
  maruku (0.6.1)
@@ -117,7 +117,7 @@ GEM
117
117
  stringex (1.5.1)
118
118
  syntax (1.0.0)
119
119
  thor (0.18.1)
120
- tilt (1.3.6)
120
+ tilt (1.4.1)
121
121
  yajl-ruby (1.1.0)
122
122
 
123
123
  PLATFORMS
data/README.md CHANGED
@@ -1,16 +1,121 @@
1
- Pagoda [![Coverage Status](https://coveralls.io/repos/alagu/pagoda/badge.png?branch=master)](https://coveralls.io/r/alagu/pagoda) [![Build Status](https://travis-ci.org/alagu/pagoda.png?branch=master)](https://travis-ci.org/alagu/pagoda) [![Code Climate](https://codeclimate.com/github/alagu/pagoda.png)](https://codeclimate.com/github/alagu/pagoda)
1
+ Pagoda [![Build Status](https://travis-ci.org/alagu/pagoda.png?branch=master)](https://travis-ci.org/alagu/pagoda) [![Code Climate](https://codeclimate.com/github/alagu/pagoda.png)](https://codeclimate.com/github/alagu/pagoda)
2
2
  =========
3
- Zen like blog editor for your Jekyll blog
3
+
4
+
5
+ ![http://f.cl.ly/items/3v0Y3q2O461C3K0A221Y/pagoda.png](http://f.cl.ly/items/3v0Y3q2O461C3K0A221Y/pagoda.png)
6
+
7
+ Zen like **blog editor** for your **Jekyll** blog, heavily inspired by Svbtle.
8
+
9
+ Screenshots
10
+ ===========
11
+
12
+ **Dashboard**
13
+ ![http://cl.ly/image/2u0L362v1L1N/Home.png](http://cl.ly/image/2u0L362v1L1N/Home.png)
14
+
15
+ **Editor**
16
+ ![http://cl.ly/image/1u2w2l2F0w1e/Pale%20Blue%20Dot.png](http://cl.ly/image/1u2w2l2F0w1e/Pale%20Blue%20Dot.png)
17
+
18
+ **Fullscreen editing**
19
+ ![http://cl.ly/image/0b3Y101Y3g0A/Screen%20Shot%202013-05-14%20at%2011.57.45%20PM.png](http://cl.ly/image/0b3Y101Y3g0A/Screen%20Shot%202013-05-14%20at%2011.57.45%20PM.png)
20
+
21
+ **Mobile Dashboard and Editing**
22
+
23
+
24
+ <img src="http://cl.ly/image/2j1V2n2z0f0s/2013-05-15%2000.10.22.png" width="400"/>......<img src="http://cl.ly/image/030i1G0c3d0u/2013-05-15%2000.10.57.png" width="400"/>
25
+
4
26
 
5
27
  Install
6
28
  =======
7
29
 
30
+ Two commands, one for installing, another for running.
31
+
8
32
  ```
9
- cd your-jekyll-blog-repo/
10
33
  gem install pagoda-jekyll
11
34
  pagoda .
12
35
  ```
13
36
 
14
37
 
15
- <img src="http://openclipart.org/people/Silveira/pagoda.svg" width="200"/>
38
+ ![http://cl.ly/image/1B3Z1Q3I1g37/pagoda-install.png](http://cl.ly/image/1B3Z1Q3I1g37/pagoda-install.png)
39
+
40
+
41
+
42
+ Deploying on your own server
43
+ ============================
44
+ I use basic http authentication in real world use. I've deployed through nginx + unicorn. There could be easier deployment than this.
45
+
46
+ This is still not well organized, but the setup works.
47
+
48
+ ## Create sock and pid folders
49
+
50
+ ```
51
+ mkdir -p tmp/pids
52
+ mkdir tmp/sock
53
+ ```
54
+
55
+ ## Your unicorn configuration (unicorn.rb):
56
+
57
+ ```
58
+ pid "./tmp/pids/blog-admin.pid"
59
+ listen "unix:./tmp/sock/blog-admin.sock"
60
+ ENV['blog'] = '/path/to/your/jekyll/blog'
61
+ ```
62
+
63
+ ## Script to start Unicorn (start.sh):
64
+
65
+ ```
66
+ cd /path/to/pagoda
67
+ rvm use 1.9.3
68
+ unicorn -c unicorn.rb -D
69
+ ```
70
+ Note: This should be run as bash --login start.sh
71
+
72
+ ## Create htpasswd file for authentication
73
+ ```
74
+ htpasswd -c /path/to/httpasswd/file alagu
75
+ New password: <enterpasswd>
76
+ Re-type new password: <re-enterpasswd>
77
+ Adding password for user alagu
78
+ ```
79
+
80
+ ## Nginx configuration
81
+
82
+ `myblog.com` shows the generated blog and `myblog.com/admin` pops up a http authentication for your admin.
83
+
84
+ ```
85
+ upstream unicorn_server {
86
+ server unix:/path/to/tmp/sock/blog-admin.sock;
87
+ }
88
+
89
+ server {
90
+ server_name myblog.com;
91
+
92
+ listen 80;
93
+
94
+ location / {
95
+ root /path/to/your/jekyll/blog/_site/;
96
+ }
97
+
98
+ location /admin {
99
+ auth_basic "Restricted";
100
+ auth_basic_user_file /path/to/htpasswd/file;
101
+ proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
102
+ proxy_set_header Host $http_host;
103
+ proxy_redirect off;
104
+ proxy_pass http://unicorn_server;
105
+ }
106
+ }
107
+ ```
108
+
109
+
16
110
 
111
+
112
+ FAQ/Bugs
113
+ ========
114
+
115
+ **I get ArgumentError - invalid byte sequence in US-ASCII**
116
+
117
+ Set localte to UTF-8
118
+
119
+ ```
120
+ export LC_ALL=en_US.UTF-8
121
+ ```
@@ -595,6 +595,12 @@ fieldset.markdown {
595
595
  font-size: 20px;
596
596
  line-height: 30px;
597
597
  }
598
+ @media only screen and (max-device-width: 480px) {
599
+ #post-content {
600
+ font-size: 15px;
601
+ line-height: 20px;
602
+ }
603
+ }
598
604
  #post-content.scrolled {
599
605
  border-top: 1px solid rgba(30, 30, 30, 0.1);
600
606
  }
@@ -598,6 +598,11 @@ fieldset.markdown {
598
598
  resize: none;
599
599
  font-size: 20px;
600
600
  line-height: 30px;
601
+
602
+ @media #{$iphone} {
603
+ font-size: 15px;
604
+ line-height: 20px;
605
+ }
601
606
 
602
607
  &.scrolled {
603
608
  border-top: 1px solid rgba(30,30,30,0.1);
data/pagoda.gemspec CHANGED
@@ -5,8 +5,8 @@ Gem::Specification.new do |s|
5
5
  s.required_ruby_version = ">= 1.8.7"
6
6
 
7
7
  s.name = 'pagoda-jekyll'
8
- s.version = '0.0.8'
9
- s.date = '2013-05-13'
8
+ s.version = '0.0.9'
9
+ s.date = '2013-05-24'
10
10
  s.rubyforge_project = 'pagoda-jekyll'
11
11
 
12
12
  s.summary = "A simple admin for Jekyll"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pagoda-jekyll
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.8
4
+ version: 0.0.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alagu
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-05-13 00:00:00.000000000 Z
11
+ date: 2013-05-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll