Add deprecated comment to Adagios
This commit is contained in:
parent
67c8f3051b
commit
e9f3d3ed2b
76
README.rst
76
README.rst
@ -4,45 +4,50 @@ Bansho
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
Installation
|
Production
|
||||||
============
|
==========
|
||||||
|
|
||||||
|
|
||||||
::
|
::
|
||||||
|
|
||||||
sudo apt-get install npm nodejs-legacy ruby
|
sudo apt-get install docker.io
|
||||||
git clone https://github.com/savoirfairelinux/bansho
|
git clone https://github.com/savoirfairelinux/bansho
|
||||||
cd bansho
|
cd bansho
|
||||||
|
make build
|
||||||
|
make production
|
||||||
|
|
||||||
|
|
||||||
|
You can alternatively forge a Docker command to select your port.
|
||||||
|
|
||||||
|
|
||||||
|
Development
|
||||||
|
===========
|
||||||
|
|
||||||
|
Clone project :
|
||||||
|
|
||||||
|
::
|
||||||
|
|
||||||
|
git clone https://github.com/savoirfairelinux/bansho
|
||||||
|
cd bansho
|
||||||
|
|
||||||
|
|
||||||
|
Install development dependencies :
|
||||||
|
|
||||||
|
::
|
||||||
|
|
||||||
|
sudo apt-get install npm nodejs-legacy ruby-sass docker.io
|
||||||
|
npm install grunt-cli
|
||||||
npm install
|
npm install
|
||||||
gem install sass
|
make build
|
||||||
|
make daemon
|
||||||
|
|
||||||
|
|
||||||
Dev
|
Bansho supports only surveil.
|
||||||
===
|
To select the proper backend and compile sass for surveil run :
|
||||||
|
|
||||||
Load our dev virtualenv :
|
|
||||||
|
|
||||||
::
|
::
|
||||||
|
|
||||||
source dev_virtualenv
|
grunt development:surveil
|
||||||
|
|
||||||
To compile css files run :
|
|
||||||
|
|
||||||
::
|
|
||||||
|
|
||||||
grunt sass
|
|
||||||
|
|
||||||
Adagios frontend now supports two backends : adagios and surveil.
|
|
||||||
To compile js for adagios run :
|
|
||||||
|
|
||||||
::
|
|
||||||
|
|
||||||
grunt uglify:adagios
|
|
||||||
|
|
||||||
To compile js for surveil run :
|
|
||||||
|
|
||||||
::
|
|
||||||
|
|
||||||
grunt uglify:surveil
|
|
||||||
|
|
||||||
|
|
||||||
If you wish to develop in a docker container, here is how to proceed (assuming
|
If you wish to develop in a docker container, here is how to proceed (assuming
|
||||||
@ -50,19 +55,16 @@ you already have docker installed) :
|
|||||||
|
|
||||||
::
|
::
|
||||||
|
|
||||||
make build
|
|
||||||
make daemon
|
|
||||||
curl http://localhost:8888/app
|
|
||||||
|
|
||||||
You must leave grunt running in the background to automatically compile css
|
|
||||||
and minify/compress js files when source code changes
|
curl http://localhost:8888/
|
||||||
By default, grunt uses surveil backend
|
|
||||||
|
|
||||||
|
To only compile sass files to css run :
|
||||||
|
|
||||||
::
|
::
|
||||||
|
|
||||||
grunt
|
grunt sass
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Coding style
|
Coding style
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
// Deprecated!
|
||||||
|
// To support this backend format to the same format as the surveil.js to inject a backendClient.
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
angular.module('bansho.live', [])
|
angular.module('bansho.live', [])
|
||||||
|
Loading…
x
Reference in New Issue
Block a user