-
Notifications
You must be signed in to change notification settings - Fork 4
Get it running on Debian Ubuntu
bbrand84 edited this page Nov 28, 2014
·
12 revisions
To build the tool by yourself, please run the following lines in your terminal:
Install all necessary tools:
sudo apt-get update
sudo apt-get install git
sudo apt-get install nodejs
sudo apt-get install npm
sudo apt-get install ruby-full
sudo npm install -g bower
sudo npm install -g grunt-cli
sudo gem install compass
To install Leiningen for the backend, simply download the Leiningen script (to /usr/local/bin) and add the containing folder to your $PATH environment variable (only if different from /usr/local/bin). Running the script for the first time will install Leiningen.
wget https://raw.githubusercontent.com/technomancy/leiningen/stable/bin/lein
export PATH=$PATH:/folder/to/your/lein/script/
sudo chmod a+x /folder/to/your/lein/script/lein
Get project from GitHub and deploy. Be sure you chose an appropriate folder, e.g. "~/opt":
git clone https://github.com/LinDA-tools/r2r-designer.git
git checkout develop
sudo npm install
bower install
Run Leiningen for the backend and grunt for the frontend. The latter will start a page in your default browser.
lein run
grunt serve