mirror of
https://github.com/gomods/athens
synced 2026-02-03 11:00:32 +00:00
add one liner to get started to docs (#1278)
* add one liner to get started to docs * Updates based on spanish review. * Updates based on chinese review.
This commit is contained in:
committed by
Aaron Schlesinger
parent
e832c83ecd
commit
d398221ff1
@@ -11,6 +11,13 @@ date: 2019-03-14T08:44:12+00:00
|
||||
|
||||
En esta página web, está documentado Athens en detalle. Te enseñaremos que hace, por que es necesario, y como puedes ejecutarlo por tu cuenta. A continuación te mostramos un breve listado.
|
||||
|
||||
#### ¿Cómo empezar?
|
||||
Ejecutar `docker run -p '3000:3000' gomods/athens:latest`
|
||||
|
||||
Ahora configura tu `GOPROXY` y a darle al `go get`!
|
||||
|
||||
export GOPROXY=http://localhost:3000 && go get module@v1
|
||||
|
||||
#### ¿Qué hace Athens?
|
||||
|
||||
Athens proporciona un servidor para [Go Modules](https://github.com/golang/go/wiki/Modules) que puedes ejecutar tú mismo. Almacena código fuente público y privado por tí, para que no tengas que obtenerlo directamente desde un sistema de control de código fuente (VCS) como GitHub o GitLab.
|
||||
|
||||
@@ -11,6 +11,13 @@ Welcome, Gophers! We're looking forward to introducing you to Athens..
|
||||
|
||||
On this site, we document Athens in detail. We'll teach you what it does, why it matters, what you can do with it, and how you can run it yourself. Below is a brief summary for you.
|
||||
|
||||
#### How To Get Started?
|
||||
Run `docker run -p '3000:3000' gomods/athens:latest`
|
||||
|
||||
Then, set up your `GOPROXY` and `go get` going!
|
||||
|
||||
export GOPROXY=http://localhost:3000 && go get module@v1
|
||||
|
||||
#### What Does Athens Do?
|
||||
|
||||
Athens provides a server for [Go Modules](https://github.com/golang/go/wiki/Modules) that you can run. It serves public code and your private code for you, so you don't have to pull directly from a version control system (VCS) like GitHub or GitLab.
|
||||
|
||||
@@ -11,6 +11,13 @@ date: 2018-12-07T11:44:36+00:00
|
||||
|
||||
在这个站点上,我们详细地记录了 Athens 的细节。我们将会告诉您它都做了什么,它为什么有意义,你可以用它来做什么,以及你如何运行它。下面是简单的概要。
|
||||
|
||||
#### 如何开始?
|
||||
运行 `docker run -p '3000:3000' gomods/athens:latest`
|
||||
|
||||
然后,设置你的 `GOPROXY` 并 `go get` 去!
|
||||
|
||||
export GOPROXY=http://localhost:3000 && go get module@v1
|
||||
|
||||
#### Athens 做了什么?
|
||||
|
||||
Athens 为你运行 [Go 模块](https://github.com/golang/go/wiki/Modules) 提供服务。它可以为你提供公有和私有的代码,因此,你不需要直接从像 GitHub 或 GitLab 等版本控制系统(VCS)上拉取。
|
||||
|
||||
Reference in New Issue
Block a user