mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2025-12-11 08:46:16 +00:00
fix: build
This commit is contained in:
38
README.md
Normal file
38
README.md
Normal file
@@ -0,0 +1,38 @@
|
||||
# Open StApps Monorepo
|
||||
|
||||
## Remote caching
|
||||
|
||||
Turbo supports remote caching, which massively speeds up build processes.
|
||||
|
||||
### Connecting to the remote cache locally
|
||||
|
||||
`.env.local`
|
||||
```dotenv
|
||||
TURBO_API=http://example:3000
|
||||
TURBO_TEAM=openstapps
|
||||
TURBO_TOKEN=abc123
|
||||
```
|
||||
|
||||
### Connecting to the remote cache in GitLab Pipelines
|
||||
|
||||
You will need to define
|
||||
* `TURBO_API`
|
||||
* `TURBO_TEAM`
|
||||
* `TURBO_TOKEN`
|
||||
Like you did locally as described in [this](https://turbo.build/repo/docs/ci/gitlabci#remote-caching)
|
||||
guide.
|
||||
|
||||
### Hosting a cache
|
||||
|
||||
Self-hosting via Docker is extremely simple, just follow
|
||||
[this](http://v2202207178592194230.supersrv.de:6341) guide
|
||||
or in short:
|
||||
|
||||
`.env`
|
||||
```dotenv
|
||||
PORT=...
|
||||
TURBO_TOKEN=...
|
||||
```
|
||||
```shell
|
||||
docker run --env-file=.env -p 3000:3000 fox1t/turborepo-remote-cache
|
||||
```
|
||||
Reference in New Issue
Block a user