YaST/Web/Installation/Client/FromSource
From openSUSE
< YaST | Web | Installation
Contents |
[edit]
Installing the WebYaST client component
[edit]
Download the source
git clone git://git.opensuse.org/projects/yast/web-client.git
You can browse the repository here
[edit]
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
[edit]
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
[edit]
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
[edit]
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

