mirror of
https://github.com/dnote/dnote
synced 2026-03-15 15:05:51 +01:00
* Rename handlers to api * Fix imports * Fix test * Abstract * Fix warning * wip * Split session * Pass db * Fix test * Fix test * Remove payment * Fix state * Fix flow * Check password when changing email * Add test methods * Fix timestamp * Document * Remove clutter * Redirect to login * Fix * Fix
22 lines
465 B
Bash
Executable file
22 lines
465 B
Bash
Executable file
#!/usr/bin/env bash
|
|
# build.sh builds a production bundle
|
|
set -eux
|
|
|
|
dir=$(dirname "${BASH_SOURCE[0]}")
|
|
|
|
basePath="$dir/../.."
|
|
publicPath="$basePath/web/public"
|
|
compiledPath="$basePath/web/compiled"
|
|
|
|
bundleBaseUrl="/static"
|
|
assetBaseUrl="/static"
|
|
rootUrl=""
|
|
|
|
BUNDLE_BASE_URL="$bundleBaseUrl" \
|
|
ASSET_BASE_URL="$assetBaseUrl" \
|
|
ROOT_URL="$rootUrl" \
|
|
PUBLIC_PATH="$publicPath" \
|
|
COMPILED_PATH="$compiledPath" \
|
|
STANDALONE=true \
|
|
VERSION="$VERSION" \
|
|
"$dir/build.sh"
|