2015-08-29 15:24:20 +02:00
|
|
|
|
# YunoHost Admin
|
2013-07-01 15:56:32 +02:00
|
|
|
|
|
|
|
|
|
JS client for YunoHost API
|
2014-03-19 11:57:46 +01:00
|
|
|
|
|
2015-10-25 14:15:56 +01:00
|
|
|
|
**Please report issues here** (no registration needed):
|
|
|
|
|
https://dev.yunohost.org/projects/yunohost/issues
|
|
|
|
|
|
|
|
|
|
|
2015-08-29 15:24:20 +02:00
|
|
|
|
## Installation
|
2014-03-19 11:57:46 +01:00
|
|
|
|
|
2015-08-29 15:24:20 +02:00
|
|
|
|
This client is a part of the YunoHost projet, and can not be installed
|
|
|
|
|
directly. Please visit [YunoHost website](https://yunohost.org) for
|
|
|
|
|
more information.
|
2014-03-19 11:57:46 +01:00
|
|
|
|
|
2015-08-29 15:24:20 +02:00
|
|
|
|
## Contributing
|
2014-03-19 11:57:46 +01:00
|
|
|
|
|
2015-08-29 15:24:20 +02:00
|
|
|
|
Feel free to improve the plugin and send us a pull request.
|
|
|
|
|
|
|
|
|
|
We use gulp to compile Less files and minify the JavaScript.
|
|
|
|
|
Assuming [nodejs](http://nodejs.org/) is installed, you can run a
|
|
|
|
|
build with:
|
|
|
|
|
|
|
|
|
|
```sh
|
|
|
|
|
cd src
|
|
|
|
|
npm install
|
2016-03-04 18:32:19 +01:00
|
|
|
|
npm install -g bower
|
|
|
|
|
bower install
|
2015-08-29 15:24:20 +02:00
|
|
|
|
npm install -g gulp
|
|
|
|
|
gulp build
|
|
|
|
|
```
|
2016-04-28 16:18:07 +02:00
|
|
|
|
Alternatively you can pas the `--dev` option to gulp which improve building
|
|
|
|
|
speed by bypassing compression tasks.
|
2015-08-29 15:24:20 +02:00
|
|
|
|
|
2016-04-28 16:21:23 +02:00
|
|
|
|
On a YunoHost instance, the web admin files are located at
|
|
|
|
|
`/usr/share/yunohost/admin`.
|
|
|
|
|
|
|
|
|
|
**Note:** The `.ms` - moustache - files are cached by the browser. You have to
|
|
|
|
|
reach them manually some times you modify them. (e.g. go to
|
|
|
|
|
https://example.com/yunohost/admin/views/domain/domain_list.ms)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-08-29 15:24:20 +02:00
|
|
|
|
## Dependencies
|
|
|
|
|
|
2016-03-04 18:34:11 +01:00
|
|
|
|
* Bootstrap 3.3.6
|
|
|
|
|
* Font-Awesome 4.5.0
|
|
|
|
|
* Handlebars 1.3.0
|
|
|
|
|
* Sammy 0.7.6
|
|
|
|
|
* Jquery-Cookie 2.1.0
|