scrivito_content_browser 1.9.1 → 1.10.0.rc1
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ce03604dd1d050116faf7e351b14e1c01bcdd7ea
|
4
|
+
data.tar.gz: c43ef8455b76d9df431e1bc9ca2a7ca416a1ef69
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 06e580fa8533973e0338e96c6a6e9315e50c778154f76ef0fc110661d19c769cd0736219ca6b58378d041bfe86bd7b48d95485e3a79d119d792b2d09331240d2
|
7
|
+
data.tar.gz: b51b06a94c0158f504ac5ef062debe9a9aadf694e69e4847060433dc616bd24c555a0bb6b94f79e447a147c4f32ceb870788359861a8b6a5669d27adeeca70df
|
data/README.md
CHANGED
@@ -6,62 +6,5 @@ The [Scrivito](https://scrivito.com) content browser is a JavaScript based tool
|
|
6
6
|
delete Scrivito CMS resources and documents.
|
7
7
|
It provides flexible configuration options and can easily be integrated into your application.
|
8
8
|
|
9
|
-
## Installation and Usage
|
10
|
-
|
11
|
-
If you already use the gem [scrivito_editors](https://rubygems.org/gems/scrivito_editors) then you
|
12
|
-
don't have to change anything, because it is a dependency that will be installed automatically.
|
13
|
-
|
14
|
-
If you want to use this gem separately, please add it to your `Gemfile`.
|
15
|
-
|
16
|
-
gem 'scrivito_content_browser'
|
17
|
-
|
18
|
-
Then require it in your stylesheet manifest.
|
19
|
-
|
20
|
-
*= require scrivito_content_browser
|
21
|
-
|
22
|
-
And require it in your JavaScript manifest.
|
23
|
-
|
24
|
-
//= require scrivito_content_browser
|
25
|
-
|
26
|
-
## Development
|
27
|
-
|
28
|
-
The `scrivito_content_browser` is using `nodejs` to compile the javascript files.
|
29
|
-
Before developing make sure you have both `nodejs` and `yarn` installed, then:
|
30
|
-
|
31
|
-
cd scrivito_content_browser/js
|
32
|
-
yarn # load the dependencies
|
33
|
-
yarn run package
|
34
|
-
|
35
|
-
If you want to develop the `scrivito_content_browser`-gem locally (including it by path) you need to configure an `asset_host` in your rails application. Example `config/env/development.rb`:
|
36
|
-
|
37
|
-
config.action_controller.asset_host = Proc.new do |source|
|
38
|
-
if source =~ /scrivito_content_browser_pkg/
|
39
|
-
"http://localhost:8080/"
|
40
|
-
end
|
41
|
-
end
|
42
|
-
|
43
|
-
and be sure that you have this options
|
44
|
-
|
45
|
-
config.assets.digest = false
|
46
|
-
config.assets.debug = true
|
47
|
-
|
48
|
-
After that start webpack dev server:
|
49
|
-
|
50
|
-
yarn start
|
51
|
-
|
52
|
-
## Run tests
|
53
|
-
Before run test you should compile latest sdk by rake task in root of rails_connector gem
|
54
|
-
rake test:content_browser:build_js_sdk
|
55
|
-
|
56
|
-
yarn test
|
57
|
-
|
58
|
-
# or for watching files
|
59
|
-
yarn run test:watch
|
60
|
-
|
61
|
-
## Changelog
|
62
|
-
|
63
|
-
{include:file:CHANGELOG.md}
|
64
|
-
|
65
|
-
|
66
9
|
## License
|
67
10
|
Javascript UI components for Scrivito, (c) 2016 by Infopark AG
|