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
|`pnpm start:live`|https://crates.io| Testing UI changes with the full live site's data |
140
-
|`pnpm start:staging`|https://staging-crates-io.herokuapp.com| Testing UI changes with a smaller set of realistic data |
139
+
|`pnpm start:live`|<https://crates.io>| Testing UI changes with the full live site's data |
140
+
|`pnpm start:staging`|<https://staging-crates-io.herokuapp.com>| Testing UI changes with a smaller set of realistic data |
141
141
|`pnpm start`| Static fixture test data in `mirage/fixtures`| Setting up particular situations, see note |
142
142
|`pnpm start:local`| Backend server running locally | See the Working on the backend section for setup |
143
143
|`PROXY_BACKEND=https://crates.io pnpm start`| Whatever is specified in the `PROXY_BACKEND` environment variable | If your use case is not covered here |
@@ -194,11 +194,11 @@ methods we'd recommend for each operating system:
194
194
> If you're missing a package, when you try to `cargo install` or `cargo
195
195
build` later, you'll get an error that looks like this:
196
196
>
197
-
> ```
198
-
> error: linking with `cc` failed: exit code: 1
199
-
> [lots of output]
200
-
> = note: /usr/bin/ld: cannot find -l[something]
201
-
> ```
197
+
> ```text
198
+
> error: linking with `cc` failed: exit code: 1
199
+
> [lots of output]
200
+
> = note: /usr/bin/ld: cannot find -l[something]
201
+
> ```
202
202
>
203
203
> That `[something]` is what you're missing; you'll need to do some research
204
204
> to figure out what package will get you the missing library.
@@ -208,7 +208,7 @@ by typing `\q`) without any errors to connect to your running Postgres server.
208
208
209
209
> If you see an error that looks like this:
210
210
>
211
-
> ```
211
+
> ```text
212
212
> psql: could not connect to server: No such file or directory
213
213
> Is the server running locally and accepting
214
214
> connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?
@@ -217,37 +217,37 @@ by typing `\q`) without any errors to connect to your running Postgres server.
217
217
> You may need to start the postgreql server on your system. On a Linux system,
218
218
> you can start it with this command:
219
219
>
220
-
> ```
220
+
> ```console
221
221
> sudo service postgresql start
222
222
> ```
223
-
223
+
>
224
224
> Depending on your system, its permissions, and how Postgres was installed, you
225
225
> may need to use the `postgres` user for some operations (by using `sudo su -
226
226
postgres`). Generally, the problem is that by default the postgres server is
227
227
> only set up to allow connections by the `postrges` user. You'll know if you're
228
228
> in this situation because if you try to run `psql` as yourself, you'll get
229
229
> this error:
230
230
>
231
-
> ```
231
+
> ```text
232
232
> psql: FATAL: role "yourusername" does not exist
233
233
> ```
234
234
>
235
235
> One way of fixing this is to first give yourself superuser permissions in the
236
236
> database by running this and replacing `[yourusername]` with your username:
0 commit comments