brightcontent-core 2.0.0.alpha3 → 2.0.0.alpha5
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile.lock +1 -1
- metadata +3 -5
- data/MIT-LICENSE +0 -20
- data/README.md +0 -44
data/Gemfile.lock
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: brightcontent-core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.0.
|
4
|
+
version: 2.0.0.alpha5
|
5
5
|
prerelease: 6
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -212,8 +212,6 @@ files:
|
|
212
212
|
- .gitignore
|
213
213
|
- Gemfile
|
214
214
|
- Gemfile.lock
|
215
|
-
- MIT-LICENSE
|
216
|
-
- README.md
|
217
215
|
- Rakefile
|
218
216
|
- app/assets/images/brightcontent/.gitkeep
|
219
217
|
- app/assets/images/brightcontent/glyphicons-halflings-white.png
|
@@ -324,7 +322,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
324
322
|
version: '0'
|
325
323
|
segments:
|
326
324
|
- 0
|
327
|
-
hash: -
|
325
|
+
hash: -3061788231904697692
|
328
326
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
329
327
|
none: false
|
330
328
|
requirements:
|
@@ -333,7 +331,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
333
331
|
version: 1.3.1
|
334
332
|
requirements: []
|
335
333
|
rubyforge_project:
|
336
|
-
rubygems_version: 1.8.
|
334
|
+
rubygems_version: 1.8.24
|
337
335
|
signing_key:
|
338
336
|
specification_version: 3
|
339
337
|
summary: Brightcontent core
|
data/MIT-LICENSE
DELETED
@@ -1,20 +0,0 @@
|
|
1
|
-
Copyright 2012 YOURNAME
|
2
|
-
|
3
|
-
Permission is hereby granted, free of charge, to any person obtaining
|
4
|
-
a copy of this software and associated documentation files (the
|
5
|
-
"Software"), to deal in the Software without restriction, including
|
6
|
-
without limitation the rights to use, copy, modify, merge, publish,
|
7
|
-
distribute, sublicense, and/or sell copies of the Software, and to
|
8
|
-
permit persons to whom the Software is furnished to do so, subject to
|
9
|
-
the following conditions:
|
10
|
-
|
11
|
-
The above copyright notice and this permission notice shall be
|
12
|
-
included in all copies or substantial portions of the Software.
|
13
|
-
|
14
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
15
|
-
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
16
|
-
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
17
|
-
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
18
|
-
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
19
|
-
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
20
|
-
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/README.md
DELETED
@@ -1,44 +0,0 @@
|
|
1
|
-
___ _ _ _ ___ _ _
|
2
|
-
| _ )_ _(_)__ _| |_| |_ / __|___ _ _| |_ ___ _ _| |
|
3
|
-
| _ \ '_| / _` | ' \ _| (__/ _ \ ' \ _/ -_) ' \ _|
|
4
|
-
|___/_| |_\__, |_||_\__|\___\___/_||_\__\___|_||_\__|
|
5
|
-
|___/
|
6
|
-
|
7
|
-
|
8
|
-
Brightcontent, yet another rails CMS / admin panel
|
9
|
-
|
10
|
-
* For *developers*, to make a *custom CMS* for *non-technical users*
|
11
|
-
* No standard 'cms-modules', we hate those, making custom is easy enough
|
12
|
-
* Build in the rails way, use your normals models, only controllers and views are provided
|
13
|
-
* Only exception: Page model is provided with tree structure, draft, hidden and pretty urls like `/services/cleaning/houses`
|
14
|
-
* Rails 3.1+ only
|
15
|
-
|
16
|
-
Installation
|
17
|
-
------------
|
18
|
-
|
19
|
-
Include the gem in your Gemfile:
|
20
|
-
|
21
|
-
```ruby
|
22
|
-
gem "brightcontent", :git => "git://github.com/stexy/brightcontent.git"
|
23
|
-
bundle install
|
24
|
-
```
|
25
|
-
|
26
|
-
Generate the initializer, copy migrations and edit routes file. This can be done via a generator. Migrate the database afterwards:
|
27
|
-
|
28
|
-
$ rails generate brightcontent:install
|
29
|
-
$ rake db:migrate
|
30
|
-
|
31
|
-
Go to `/admin` and login with default user (email: `admin@example.com` / password: `password`).
|
32
|
-
|
33
|
-
Add a resource to Brightcontent
|
34
|
-
-------------------------------
|
35
|
-
|
36
|
-
Lets say, we want to add projects. Just create the `Project` model the rails way:
|
37
|
-
$ rails g model Project name:string description:text
|
38
|
-
$ rake db:migrate
|
39
|
-
|
40
|
-
To add the resource to brightcontent run:
|
41
|
-
|
42
|
-
$ rails generate brightcontent:resource Project
|
43
|
-
|
44
|
-
Gratz! Projects can now be controlled with Brightcontent.
|