From b82c04e39c44f1bc4c0df19c9a155940aa14faab Mon Sep 17 00:00:00 2001 From: opi Date: Thu, 28 Apr 2016 16:21:23 +0200 Subject: [PATCH] [enh] Remove old README and update current one. --- README.md | 9 +++++++++ src/README.md | 27 --------------------------- 2 files changed, 9 insertions(+), 27 deletions(-) delete mode 100644 src/README.md diff --git a/README.md b/README.md index 9d313761..a661bdeb 100644 --- a/README.md +++ b/README.md @@ -31,6 +31,15 @@ gulp build Alternatively you can pas the `--dev` option to gulp which improve building speed by bypassing compression tasks. +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) + + + ## Dependencies * Bootstrap 3.3.6 diff --git a/src/README.md b/src/README.md deleted file mode 100644 index c2beee90..00000000 --- a/src/README.md +++ /dev/null @@ -1,27 +0,0 @@ -# YunoHost Web Admin - -This is a JavaScript client to the YunoHost [moulinette API](https://github.com/YunoHost/yunohost). - - -### Hack - -On a YunoHost instance, the web admin files are located on `/usr/share/yunohost/admin`. In order to fetch the latest development version and hack it, you will roughly have to: - -```bash -# Fetch sources -cd /usr/share/yunohost/ -mv admin admin.back -git clone https://github.com/YunoHost/yunohost-admin -ln -s /usr/share/yunohost/yunohost-admin/src admin - -# Install Gulp -apt-get install nodejs nodejs-legacy npm -y -cd admin -npm install -node_modules/.bin/bower install -node_modules/.bin/gulp build -``` - -You are now ready to modify the interface. Do not hesitate to run `node_modules/.bin/gulp watch` when you modify `.js` and `.css` files, since they need to be rebuilt. - -**Note:** The `.ms` - moustache - files are cached by the browser. You have to reach them manually every time you change them. (e.g. go to https://example.com/yunohost/admin/views/domain/domain_list.ms)