~xenrox/10man-web

f25fd2dd3722d6e0aaf5417fb1a1c2dcbe0b44ae — Marius Riedl 2 years ago 1e4973a
Add build manifest
3 files changed, 30 insertions(+), 1 deletions(-)

A .build.yml
M .gitignore
M README.md
A .build.yml => .build.yml +19 -0
@@ 0,0 1,19 @@
image: archlinux
packages:
  - yarn
  - s3cmd
secrets:
  - e4146b49-df08-4c54-845a-25497b344736
sources:
  - https://git.xenrox.net/~xenrox/10man-web
tasks:
  - lint: |
      cd 10man-web
      yarn install
      yarn lint
  - get_assets: |
      cd 10man-web/src
      s3cmd get --recursive s3://10man/assets || complete-build
  - builds: |
      cd 10man-web
      yarn build

M .gitignore => .gitignore +1 -1
@@ 1,7 1,7 @@
.DS_Store
node_modules
/dist

/src/assets

# local env files
.env.local

M README.md => README.md +10 -0
@@ 1,3 1,5 @@
[![builds.sr.ht status](https://builds.xenrox.net/~xenrox/10man-web/commits/.build.yml.svg)](https://builds.xenrox.net/~xenrox/10man-web/commits/.build.yml?)

# 10man-web

## Project setup


@@ 23,3 25,11 @@ yarn build
```
yarn lint
```

## Minio

Request access to work with minio.

We use minio as a binary file storage. CI is set up to load these files into the project before building the application.
To add files it is necessary to upload them to the 10man minio bucket.
In turn, local development will not work without getting the files from the bucket.