See
- https://gitlab.com/gitlab-org/gitlab-development-kit/merge_requests/290//diffs
- https://gitlab.com/gitlab-org/gitlab-development-kit/issues/223
I am using Cmder, WSL (with creators update), with ZSH shell, https://gist.github.com/MadLittleMods/0e38f03774fb16e8d698175e505f1f3e#cmder
See https://gitlab.com/gitlab-org/gitlab-development-kit/blob/master/doc/prepare.md
- Install
rvm
, https://rvm.io/rvm/installcurl -sSL https://get.rvm.io | bash -s stable --ruby=2.3.4
- Make sure this was added to
.zshrc
# Add RVM to PATH for scripting. Make sure this is the last PATH variable change. export PATH="$PATH:$HOME/.rvm/bin" [[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm"
- Reload shell,
source ~/.zshrc
gem install bundler
- Install
nvm
, https://github.com/creationix/nvm#install-script- Add to
.zshrc
export NVM_DIR="$HOME/.nvm" [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
- Reload shell,
source ~/.zshrc
- Add to
nvm install node
npm i yarn -g
Run through the Ubuntu isntructions here, https://gitlab.com/gitlab-org/gitlab-development-kit/blob/master/doc/prepare.md#ubuntu
Start the PostgreSQL database
sudo service postgresql start
See https://gitlab.com/gitlab-org/gitlab-development-kit/blob/master/doc/set-up-gdk.md
On your host Windows machine, clone the repos
git clone [email protected]:gitlab-org/gitlab-development-kit.git gdk
cd gdk
git clone [email protected]:gitlab-org/gitlab-ce.git gitlab
Then inside WSL
gdk install
This may result in the following.
This GitLab Development Kit root directory is not known to the "gdk"
command. To mark it as trusted run:
gdk trust /mnt/c/Users/some-user/Documents/GitLab/gdk
gdk trust /mnt/c/Users/some-user/Documents/GitLab/gdk
gdk reconfigure
Running into following
redis: dialing "unix", "/mnt/c/Users/MLM/Documents/GitLab/gdk/redis/redis.socket"
# Opening Unix socket: bind: Operation not permitted
Awesome! Thank you!