Skip to content

Commit

Permalink
Document querybook dev experience on windows (#415)
Browse files Browse the repository at this point in the history
  • Loading branch information
czgu committed Feb 5, 2021
1 parent cdd9b02 commit 1cee269
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
1 change: 0 additions & 1 deletion docs

This file was deleted.

7 changes: 6 additions & 1 deletion docs_website/docs/setup_guide/quick_setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ sidebar_label: Quick Setup

### System requirements:

- 6GB of free RAM
- 5GB of free RAM (10GB for Windows WSL)
- 5GB of disk space

### Kernel Config
Expand All @@ -25,6 +25,11 @@ Run `sudo sysctl -w vm.max_map_count=262144` to ensure [ElasticSearch](https://w

Go to the `Docker Desktop` app -> top right gear icon -> Preferences -> Resources -> Advanced. Make sure your memory limit per app is >= 3GB.

#### Windows
Please install WSL 2 as instructed [here](https://docs.microsoft.com/en-us/windows/wsl/install-win10). Now go to Docker Desktop, Settings > General, and check the box "Use the WSL 2 based Engine".

Launch WSL shell and run `sudo sysctl -w vm.max_map_count=262144` to ensure [ElasticSearch](https://www.elastic.co/guide/en/elasticsearch/reference/current/vm-max-map-count.html) works.

## Getting Started

After cloning the repo, run the following
Expand Down
2 changes: 1 addition & 1 deletion querybook/server/const/path.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
CONFIG_PATH = os.path.join(PROJECT_ROOT_PATH, "./querybook/config")
WEBAPP_DIR_PATH = os.path.join(PROJECT_ROOT_PATH, "./dist/webapp/")
WEBAPP_INDEX_PATH = os.path.join(WEBAPP_DIR_PATH, "index.html")
CHANGE_LOG_PATH = os.path.join(PROJECT_ROOT_PATH, "./docs/changelog/")
CHANGE_LOG_PATH = os.path.join(PROJECT_ROOT_PATH, "./docs_website/docs/changelog/")

0 comments on commit 1cee269

Please sign in to comment.