chr 0.5.6 → 0.5.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +6 -32
- data/chr.gemspec +1 -1
- data/lib/chr/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 6a755aafe8778141b4ce3fb5556a014d2039a988
|
|
4
|
+
data.tar.gz: 5c0d98c9b09456a98677fb73a35008f07f660e3a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b1e725daa088a71cd8fc934243bafeb3642cd56db8ff763324ded29c5e38cc6aade5d0d147d0b8d4f9542dc099b7d13c735c32b4a0ac21fab747e018a15c4439
|
|
7
|
+
data.tar.gz: 296dd09c285c59071b7eda8a9a174aaea15528b1e358d256aa913526207102d7ff8611c20b3eb423cff034c8da31175052182fd5b098d701cf2ba6932b6e3bf9
|
data/README.md
CHANGED
|
@@ -3,48 +3,26 @@
|
|
|
3
3
|
[](https://travis-ci.org/slate-studio/chr)
|
|
4
4
|
[](https://codeclimate.com/github/slate-studio/chr)
|
|
5
5
|
|
|
6
|
-
Character is powerful responsive javascript-based CMS for website and applications used by [Slate Studio](https://www.slatestudio.com).
|
|
6
|
+
Character is powerful responsive javascript-based CMS for website and applications used by [Slate Studio](https://www.slatestudio.com), build with [CoffeeScript](http://coffeescript.org/) & [jQuery](https://jquery.com/).
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
## Quick Start
|
|
10
10
|
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
gem install chr
|
|
14
|
-
|
|
15
|
-
Then run:
|
|
16
|
-
|
|
17
|
-
chr projectname
|
|
18
|
-
|
|
19
|
-
This will create a Rails app in `projectname` using the latest version of Rails with character CMS integrated.
|
|
20
|
-
|
|
21
|
-
Go to the created project folder. To create an admin user, open a rails console with `rails c` and execute the following line :
|
|
22
|
-
|
|
23
|
-
AdminUser.create(email: 'admin@example.com', password: 'password', name: 'admin')
|
|
24
|
-
|
|
25
|
-
Start the development server with `rails s`. Go to `localhost:3000/admin` and login with the credentials you used above. You see default character initial configuration, it gives `file uploader`, `admins` and `redirects` modules out of the box as shown on screenshot below.
|
|
26
|
-
|
|
27
|
-

|
|
28
|
-
|
|
29
|
-
Project is ready to deploy to [Heroku](https://www.heroku.com). Take a look at projects `README.md` to add plugins, create S3 bucket and setup `ENV` settings required to run the app. After deploy first admin has to be created via `heroku run console`:
|
|
30
|
-
|
|
31
|
-
AdminUser.create(email: 'admin@example.com', password: 'password', name: 'admin')
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
## Connect Models
|
|
11
|
+
For Rails demo project and to understand how Character works please check out our boilerplate project [Venice](https://github.com/alexkravets/venice) — it assumes you have Ruby & MongoDB installed on your local machine.
|
|
35
12
|
|
|
36
13
|
|
|
37
14
|
## Character Family:
|
|
38
15
|
|
|
39
|
-
- [Character](https://github.com/slate-studio/chr): Powerful responsive javascript CMS
|
|
40
|
-
- [Mongosteen](https://github.com/slate-studio/mongosteen):
|
|
16
|
+
- [Character](https://github.com/slate-studio/chr): Powerful responsive javascript CMS engine built with CoffeeSript & jQuery
|
|
17
|
+
- [Mongosteen](https://github.com/slate-studio/mongosteen): Add CRUD actions for Mongoid models with one line
|
|
41
18
|
- [Inverter](https://github.com/slate-studio/inverter): An easy way to connect Rails templates content to Character CMS
|
|
42
19
|
- [Loft](https://github.com/slate-studio/loft): Media assets manager for Character CMS
|
|
20
|
+
- [Venice](https://github.com/alexkravets/venice): Website boilerplate for Rails + MongoDB projects
|
|
43
21
|
|
|
44
22
|
|
|
45
23
|
## License
|
|
46
24
|
|
|
47
|
-
Copyright © 2015 [Slate Studio, LLC](http://slatestudio.com). Character is free software, and may be redistributed under the terms specified in the [license](LICENSE
|
|
25
|
+
Copyright © 2015 [Slate Studio, LLC](http://slatestudio.com). Character is free software, and may be redistributed under the terms specified in the [license](LICENSE).
|
|
48
26
|
|
|
49
27
|
|
|
50
28
|
## About Slate Studio
|
|
@@ -52,7 +30,3 @@ Copyright © 2015 [Slate Studio, LLC](http://slatestudio.com). Character is free
|
|
|
52
30
|
[](http://slatestudio.com)
|
|
53
31
|
|
|
54
32
|
Character is maintained and funded by [Slate Studio, LLC](http://slatestudio.com). Tweet your questions or suggestions to [@slatestudio](https://twitter.com/slatestudio) and while you’re at it follow us too.
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
data/chr.gemspec
CHANGED
|
@@ -30,7 +30,7 @@ email client etc. It's responsive by default and designed to be data source inde
|
|
|
30
30
|
|
|
31
31
|
s.add_dependency 'rails', Chr::RAILS_VERSION
|
|
32
32
|
s.add_dependency 'coffee-rails', '>= 4.0'
|
|
33
|
-
s.add_dependency 'formagic', '>= 0.3.
|
|
33
|
+
s.add_dependency 'formagic', '>= 0.3.9'
|
|
34
34
|
s.add_dependency 'jquery-rails'
|
|
35
35
|
s.add_dependency 'sass-rails'
|
|
36
36
|
s.add_dependency 'bourbon'
|
data/lib/chr/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: chr
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.5.
|
|
4
|
+
version: 0.5.7
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Alexander Kravets
|
|
@@ -10,7 +10,7 @@ authors:
|
|
|
10
10
|
autorequire:
|
|
11
11
|
bindir: bin
|
|
12
12
|
cert_chain: []
|
|
13
|
-
date: 2015-12-
|
|
13
|
+
date: 2015-12-23 00:00:00.000000000 Z
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|
|
16
16
|
name: rails
|
|
@@ -46,14 +46,14 @@ dependencies:
|
|
|
46
46
|
requirements:
|
|
47
47
|
- - ">="
|
|
48
48
|
- !ruby/object:Gem::Version
|
|
49
|
-
version: 0.3.
|
|
49
|
+
version: 0.3.9
|
|
50
50
|
type: :runtime
|
|
51
51
|
prerelease: false
|
|
52
52
|
version_requirements: !ruby/object:Gem::Requirement
|
|
53
53
|
requirements:
|
|
54
54
|
- - ">="
|
|
55
55
|
- !ruby/object:Gem::Version
|
|
56
|
-
version: 0.3.
|
|
56
|
+
version: 0.3.9
|
|
57
57
|
- !ruby/object:Gem::Dependency
|
|
58
58
|
name: jquery-rails
|
|
59
59
|
requirement: !ruby/object:Gem::Requirement
|