The goal of this innovation center is to set up a small project that can be used to quickly bootstrap the development of new applications.
- Install Git
sudo apt-get install git
git config --global user.name "<Your Name>"
git config --global user.email "<Your Email>"
git config --global push.default "simple"
git config --global pull.rebase true
git config --global url."https://".insteadOf git://
git config --global credential.helper 'cache --timeout=18000'
- Install an editor, e.g. SublimeText
sudo add-apt-repository ppa:webupd8team/sublime-text-3
sudo apt-get update
sudo apt-get install sublime-text-installer
- Install Node.js
curl --silent --location https://deb.nodesource.com/setup_5.x | sudo bash -
sudo apt-get install nodejs
- Install npm, to avoid permission errors:
mkdir $HOME/.npm_global
npm config set prefix=$HOME/.npm_global
npm install -g npm
- add
export PATH="$HOME/.npm_global/bin:$PATH"
to end of~/.bashrc
- restart your terminal
- Install Bower
npm install -g bower
- Install Gulp
npm install -g gulp
- Install Java
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java8-installer
- Install Maven
curl -s http://apache.belnet.be/maven/maven-3/3.3.9/binaries/apache-maven-3.3.9-bin.tar.gz > apache-maven-3.3.9-bin.tar.gz
tar xzvf apache-maven-3.3.9-bin.tar.gz
sudo mv apache-maven-3.3.9 /opt
sudo ln -s /opt/apache-maven-3.3.9/bin/mvn /usr/local/bin/mvn
- Install Eclipse IDE For Java EE Developers
curl http://ftp-stud.fht-esslingen.de/pub/Mirrors/eclipse/technology/epp/downloads/release/mars/1/eclipse-jee-mars-1-linux-gtk-x86_64.tar.gz > eclipse-jee-mars-1-linux-gtk-x86_64.tar.gz
tar xzvf eclipse-jee-mars-1-linux-gtk-x86_64.tar.gz
sudo mv eclipse /opt
sudo ln -s /opt/eclipse/eclipse /usr/local/bin/eclipse
- If you want to access eclipse from the launcher create /usr/share/applications/eclipse.desktop as described at link
- Install Docker
sudo apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D
- Add correct OS entry to
/etc/apt/sources.list.d/docker.list
apt-get update
apt-get purge lxc-docker
apt-cache policy docker-engine
sudo usermod -aG docker [USERNAME]
- Add
127.0.0.1 dws_db_1
to /etc/hosts - Install Docker Compose
sudo -i
curl -L https://github.com/docker/compose/releases/download/1.5.2/docker-compose-`uname -s`-`uname -m` > /usr/local/bin/docker-compose
chmod +x /usr/local/bin/docker-compose
curl -L https://raw.githubusercontent.com/docker/compose/$(docker-compose --version | awk 'NR==1{print $NF}')/contrib/completion/bash/docker-compose > /etc/bash_completion.d/docker-compose
git clone https://github.com/cegeka/dev-workflow-skeleton.git
cd dev-workflow-skeleton/ops/scripts
./start-local.db.sh
to run the databasecd ../../dws
to get from the project root to the maven rootmvn clean install
to initiate the data base content- import the project as an maven project in eclipse
- switch your prefered maven installation within eclipse to the one you installed previously
- run the application in eclipse
cd dws-ui
gulp
in front-end root to build front-endgulp dev
in front-end root to start application, go to http://localhost:8080
A nicer issue tracker can be found at waffle.io.
See the LICENSE file for license rights and limitations (Apache).