-
Notifications
You must be signed in to change notification settings - Fork 3
Set up the development environment on Windows
Eugen Kuksa edited this page May 22, 2017
·
2 revisions
We strongly recommend to use a UNIX system for ontohub development and we don't give any Windows-support except for this installation tutorial:
A git
executable is needed in the PATH
in order to get yarn
to work.
- Download and run the installer from https://git-scm.com/download/win
- During installation, select "Use Git from the Windows Command Prompt" or "Use Git and optional Unix tools from the Windows Command Prompt" (your choice).
This is necessary to get
git
into thePATH
. - Apart from this, the defaults of the installer are fine.
npm
is the node package manager and is used to download and install JavaScript libraries.
This is a dependency of yarn (see the next step).
- Download and run the installer from https://nodejs.org/en/download/
yarn
is the package management system we use to install specific versions of our JavaScript dependencies.
- Download and run the
.msi
installer from https://yarnpkg.com/en/docs/install
Use a git interface of your choice (e.g. Github Desktop) to clone the ontohub-frontend repository:
https://github.com/ontohub/ontohub-frontend.git
- Open the Windows PowerShell in your clone of the ontohub-frontend repository and type:
The first command can take a few minutes.
yarn --pure-lockfile yarn run 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