storj/satellite/admin/back-office/ui
Ivan Fraixedes 6555a68fa9 satellite/admin: Serve back-office static UI
Serve the front-end sources of the new back-office through the current
satellite admin server under the path `/back-office`.

The front-end is served in the same way than the current one, which is
through an indicated directory path with a configuration parameter or
embed in the binary when that configuration parameter is empty.

The commit also slightly changes the test that checks serving these
static assets for not targeting the empty file in the build folder.

build folders must remain because of the embed directive.

Change-Id: I3c5af6b75ec944722dbdc4c560d0e7d907a205b8
2023-09-26 13:18:29 +00:00
..
build satellite/admin: Serve back-office static UI 2023-09-26 13:18:29 +00:00
public satellite/admin: Serve back-office static UI 2023-09-26 13:18:29 +00:00
src satellite/admin: Serve back-office static UI 2023-09-26 13:18:29 +00:00
.gitignore satellite/admin: Serve back-office static UI 2023-09-26 13:18:29 +00:00
assets_noembed.go satellite/admin: Serve back-office static UI 2023-09-26 13:18:29 +00:00
assets.go satellite/admin: Serve back-office static UI 2023-09-26 13:18:29 +00:00
index.html satellite/admin: Add back-office UI sources 2023-09-22 18:02:55 +02:00
jsconfig.json satellite/admin: Add back-office UI sources 2023-09-22 18:02:55 +02:00
package.json satellite/admin: Add back-office UI sources 2023-09-22 18:02:55 +02:00
README.md satellite/admin: Add back-office UI sources 2023-09-22 18:02:55 +02:00
vite.config.js satellite/admin: Serve back-office static UI 2023-09-26 13:18:29 +00:00
yarn.lock satellite/admin: Add back-office UI sources 2023-09-22 18:02:55 +02:00

essentials

Project setup

# yarn
yarn

# npm
npm install

# pnpm
pnpm install

Compiles and hot-reloads for development

# yarn
yarn dev

# npm
npm run dev

# pnpm
pnpm dev

Compiles and minifies for production

# yarn
yarn build

# npm
npm run build

# pnpm
pnpm build

Lints and fixes files

# yarn
yarn lint

# npm
npm run lint

# pnpm
pnpm lint

Customize configuration

See Configuration Reference.