You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: develop-docs/development/environment/index.mdx
+7-8Lines changed: 7 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -16,14 +16,12 @@ After installation you should be able to run `devenv bootstrap` which will guide
16
16
17
17
When you're done with setup, you'll want to also review the <Linkto="/development/workflow/">development workflow</Link>.
18
18
19
-
20
19
## Keeping your environment up-to-date
21
20
22
21
Simply run `devenv sync` inside of your sentry or getsentry repo.
23
22
24
23
NOTE: After running `devenv sync` you may need to restart your terminal to continue.
25
24
26
-
27
25
## Running the Development Server
28
26
29
27
The `devservices` ensure that you have all the services required for local development running. See the [devservices docs](/services/devservices/) for more information on managing services.
@@ -108,6 +106,8 @@ sentry devservices up snuba
108
106
109
107
See also: <Linkto="/sentry-vs-getsentry/">Sentry vs Getsentry</Link>
110
108
109
+
Before running `getsentry`, you might need to run `devenv sync` inside the `getsentry` directory if you have previously run `sentry` locally, as there might be differences between the environments.
110
+
111
111
Just like running `sentry` (see above), you can start the `devservices` using the following command in the `getsentry` folder:
**Note**: You **cannot** have both sentry and getsentry devserver running at the same time.
124
124
125
-
After the server warms up for a little while, you must access it
126
-
at [http://dev.getsentry.net:8000](http://dev.getsentry.net:8000/).
127
-
Using localhost doesn't work.
125
+
After the server warms up, access it at [http://dev.getsentry.net:8000](http://dev.getsentry.net:8000/). Using localhost won't work. Note that the **http** protocol is used, not **https**. If you encounter a certificate error while accessing it locally, it might be because your browser has remembered that `dev.getsentry.net` previously used the https protocol (possibly while running `yarn dev-ui`) and is now redirecting all http requests to https. To resolve this, open the site in an **incognito window** of your browser.
128
126
129
127
If you need to overwrite configuration options for your local
130
128
environment, you can create `getsentry/conf/settings/devlocal.py` and put the
131
129
configuration option overrides there. This module will be automatically imported
132
130
by `dev.py` if it exists.
133
131
134
132
To enable the ingest workers, follow the steps described <Linkto="#ingestion-pipeline-relay">here</Link> and run
133
+
135
134
```shell
136
135
getsentry devserver --workers --ingest
137
136
```
138
137
139
-
140
138
## Running siloed instances
141
139
142
-
By default `sentry devserver` will run a monolith mode application server. You can also run ``devserver`` with siloed application instances. Before you do, you need to <Linkto="/database-migrations/#cloning-a-monolith-database">create split silo databases</Link>.
140
+
By default `sentry devserver` will run a monolith mode application server. You can also run `devserver` with siloed application instances. Before you do, you need to <Linkto="/database-migrations/#cloning-a-monolith-database">create split silo databases</Link>.
143
141
144
-
The devserver command supports `--silo` option that lets you create siloed instances. Any workers, consumers, or celery-beat processes will be started with the same silo mode.
142
+
The devserver command supports `--silo` option that lets you create siloed instances. Any workers, consumers, or celery-beat processes will be started with the same silo mode.
0 commit comments