YaST/Web/Installation/Client/FromSource
From openSUSE
(Difference between revisions)
| Revision as of 11:42, 11 August 2009 Klaus kaempf (Talk | contribs) � Previous diff |
Revision as of 17:33, 19 August 2009 Jdsn (Talk | contribs) Required gems and packages Next diff → |
||
| Line 12: | Line 12: | ||
| ==Required gems and packages== | ==Required gems and packages== | ||
| - | You can install dependencies using rpm: | + | You can install dependencies using zypper/rpm: |
| - | + | ||
| <pre> | <pre> | ||
| - | sudo zypper in rubygem-gettext rubygem-gettext_activerecord \ rubygem-gettext_rails rubygem-locale rubygem_locale-rails \ | + | zypper in rubygem-gettext rubygem-gettext_activerecord rubygem-gettext_rails rubygem-locale \ |
| - | rubygem-relevance-rcov | + | rubygem_locale-rails rubygem-relevance-rcov |
| </pre> | </pre> | ||
| Line 22: | Line 21: | ||
| <pre> | <pre> | ||
| - | sudo gem install gettext gettext_activerecord gettext_rails \ | + | gem install gettext gettext_activerecord gettext_rails locale locale_rails |
| - | locale locale_rails | + | |
| </pre> | </pre> | ||
Revision as of 17:33, 19 August 2009
Contents |
Installing the WebYaST client component
Download the source
git clone git://git.opensuse.org/projects/yast/web-client.git
You can browse the repository here
Required gems and packages
You can install dependencies using zypper/rpm:
zypper in rubygem-gettext rubygem-gettext_activerecord rubygem-gettext_rails rubygem-locale \ rubygem_locale-rails rubygem-relevance-rcov
Or using gem, if packages are not available:
gem install gettext gettext_activerecord gettext_rails locale locale_rails
Plugins locations
When installed, plugin packages install the plugins in RAILS_ROOT/vendor/plugins/PLUGINNAME, however during development the webclient tree is at the same level of the plugins (we show the tree of plugins/systemtime expanded as an example). The applications include the ../plugins directory in the plugins path so they are found during development.
/pathto/web-client
|-- dist
|-- gettext20
|-- package
|-- ruby-gettext
|-- plugins
| |-- foo
| `-- systemtime
| |-- app
| |-- config
| |-- init.rb
| |-- install.rb
| |-- lib
| |-- shortcuts.yml
| |-- tasks
| |-- test
| `-- package
| |-- yast2-webclient-systemtime.changes
| `-- yast2-webclient-systemtime.spec
`-- webclient
|-- app
|-- config
|-- db
|-- doc
|-- lib
|-- log
|-- po
|-- public
|-- script
|-- test
`-- vendor
`-- plugins
`-- lang_helper
Migrating the database
Before launching it, create the database (used to hold bookmarks of services)
# from the checkout working directory of web-client rake db:migrate
Launch the service
# start the server cd webclient script/server
You can browse the repositories for the REST service and for the Web client
TODO, commands to install it

