Skip to content
Snippets Groups Projects
Commit 0936fd20 authored by Atte Keinänen's avatar Atte Keinänen Committed by GitHub
Browse files

Merge pull request #6144 from metabase/update-windows-dev-instructions

Update Windows development instructions
parents 5f662e03 ee2ae02c
No related branches found
No related tags found
No related merge requests found
......@@ -14,6 +14,11 @@ For significant feature additions, it is expected that discussion will have take
We don't like getting sued, so before merging any pull request, we'll need each person contributing code to sign a Contributor License Agreement [here](https://docs.google.com/a/metabase.com/forms/d/1oV38o7b9ONFSwuzwmERRMi9SYrhYeOrkbmNaq9pOJ_E/viewform)
# Development on Windows
The development scripts are designed for Linux/Mac environment, so we recommend using the latest Windows 10 version with [WSL (Windows Subsystem for Linux)](https://msdn.microsoft.com/en-us/commandline/wsl/about) and [Ubuntu on Windows](https://www.microsoft.com/store/p/ubuntu/9nblggh4msv6). The Ubuntu Bash shell works well for both backend and frontend development.
If you have problems with your development environment, make sure that you are not using any development commands outside the Bash shell. As an example, Node dependencies installed in normal Windows environment will not work inside Ubuntu Bash environment.
# Install Prerequisites
......@@ -24,6 +29,7 @@ These are the set of tools which are required in order to complete any build of
3. [Yarn package manager for Node.js](https://yarnpkg.com/)
3. [Leiningen (http://leiningen.org/)](http://leiningen.org/)
If you are developing on Windows, make sure to use Ubuntu on Windows and follow instructions for Ubuntu/Linux instead of installing ordinary Windows versions.
# Build Metabase
......@@ -70,13 +76,6 @@ Start the frontend build process with
yarn run build-hot
Caveat - Yarn does not properly support `build-hot` on Windows 8/10. You will need to manually build the frontend client with
yarn run build
This will get you a full development server running on port :3000 by default.
## Frontend development
We use these technologies for our FE build process to allow us to use modules, es6 syntax, and css variables.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment