mirror of
https://github.com/gomods/athens
synced 2026-02-03 11:00:32 +00:00
fixed typos (#1262)
This commit is contained in:
committed by
Marwan Sulaiman
parent
c5aa372778
commit
b2b9c378f6
+5
-5
@@ -32,7 +32,7 @@ We provide two ways to run the proxy on your local machine:
|
||||
1. Using [Docker](https://www.docker.com/) and [Docker Compose](https://docs.docker.com/compose/) (_we suggest this one if you're getting started_)
|
||||
2. Natively on your host
|
||||
|
||||
.See below for insrtuctions to do both!
|
||||
See below for instructions to do both!
|
||||
|
||||
## Using Docker
|
||||
|
||||
@@ -82,7 +82,7 @@ $ make run-docker-teardown
|
||||
|
||||
If you're inside GOPATH, make sure `GO111MODULE=on`, if you're outside GOPATH, then Go Modules are on by default.
|
||||
|
||||
The main package is inside `cmd/proxy` and is run like any go project as follows:
|
||||
The main package is inside `cmd/proxy` and is run like any go project as follows:
|
||||
|
||||
```console
|
||||
$ cd cmd/proxy
|
||||
@@ -113,8 +113,8 @@ That's it! After the `make dev` command is done, everything will be up and runni
|
||||
|
||||
If you want to stop everything at any time, run `make down`.
|
||||
|
||||
>Note: `make dev` only runs the minimum dependencies needed for things to work. If you'd like to run all the possible dependencies, run `make alldeps`. Keep in mind, though, that `make alldeps` does not start up Athens, but **only** its dependencies.
|
||||
>All the services that get started by `make alldeps` are also available in the `docker-compose.yml` file, so if you're familiar with Docker Compose, you can also start up services as you need.
|
||||
> Note: `make dev` only runs the minimum dependencies needed for things to work. If you'd like to run all the possible dependencies, run `make alldeps`. Keep in mind, though, that `make alldeps` does not start up Athens, but **only** its dependencies.
|
||||
> All the services that get started by `make alldeps` are also available in the `docker-compose.yml` file, so if you're familiar with Docker Compose, you can also start up services as you need.
|
||||
|
||||
# Run unit tests
|
||||
|
||||
@@ -122,7 +122,7 @@ There are two methods for running unit tests:
|
||||
|
||||
## Completely In Containers
|
||||
|
||||
This method uses [Docker Compose](https://docs.docker.com/compose/) to set up and run all the unit tests completely inside Docker containers.
|
||||
This method uses [Docker Compose](https://docs.docker.com/compose/) to set up and run all the unit tests completely inside Docker containers.
|
||||
|
||||
**We highly recommend you use this approach to run unit tests on your local machine.**
|
||||
|
||||
|
||||
Reference in New Issue
Block a user