-
Notifications
You must be signed in to change notification settings - Fork 3
Set up the development environment under Ubuntu 16.04
Till Mossakowski edited this page May 27, 2017
·
3 revisions
sudo apt install -y curl git npm
curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash -
sudo apt install -y nodejs
sudo npm install -g ember-cli
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
sudo apt-get update
sudo apt-get install yarn
git clone https://github.com/ontohub/ontohub-frontend.git
cd ontohub-frontend
yarn install --pure-lockfile
yarn run bower install
bower install
- Set
ENV['ember-cli-mirage']['enabled'] = true
in the config/environment.js for the development environment (simply replacefalse
bytrue
in the highlighted line).
After the dependencies have been installed, you can start the Ember app.
- Open the Windows PowerShell in your clone of the ontohub-frontend repository and type:
The first time you run this, it may take some minutes to compile the app and boot. From the second time on, it will startup more quickly.
yarn run ember serve