Commit f4a6d5fb authored by Gabriel Mazetto's avatar Gabriel Mazetto 🚀

Update documentation to the updated `gdk run` commands

parent 887633a2
......@@ -453,7 +453,7 @@ If you still encounter some errors, see the troubleshooting FAQ below:
---
* I'm getting the following error when I try to run `gdk run` or `gdk run db`:
* I'm getting the following error when I try to run `gdk run`, `gdk run dev` or `gdk run tests`:
```
09:46:05 webpack.1 | npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "dev-server"
......@@ -471,7 +471,7 @@ If you still encounter some errors, see the troubleshooting FAQ below:
---
* I'm getting the following error when I try to run `gdk run` or `gdk run db`:
* I'm getting the following error when I try to run `gdk run`, `gdk run dev` or `gdk run tests`:
```
09:54:15 webpack.1 | > @ dev-server /Users/mike/Projects/gitlab-development-kit/gitlab
......@@ -518,7 +518,7 @@ RAILS_ENV=test bundle exec rake db:reset
## Windows 10 WSL common issues
* `gdk run db` fails with exit code X
* `gdk run dev` fails with exit code X
If you have restarted your computer recently, don't forget to start PostgreSQL server manually; init.d scripts don't work currently as of build 15063.138:
......
......@@ -106,10 +106,16 @@ Start GitLab and all required services:
gdk run
```
To start only the databases use:
To start only the databases and required services use:
```sh
gdk run db
gdk run dev
```
To start all required services to execute any test use:
```sh
gdk run tests
```
To start only the app (assuming the DBs are already running):
......
......@@ -4,11 +4,11 @@
```
cd <gdk-dir>
gdk run db
gdk run dev
```
1. Then, **open a separate terminal window** and update gdk along with all its
components:
components:
```
cd <gdk-dir>
......@@ -17,5 +17,5 @@
gdk reconfigure
```
1. Then stop the `gdk run db` process running in the first tab. It must be
restarted once `gdk reconfigure` has been run.
1. Then stop the `gdk run dev` process running in the first tab. It must be
restarted once `gdk reconfigure` has been run.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment