mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-11 04:16:55 +00:00
19 lines
345 B
Bash
Executable File
19 lines
345 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# This works on Linux and MacOS to launch the frontend dev server
|
|
|
|
root_dir=$(pwd)
|
|
frontend_path="${root_dir}/frontend"
|
|
|
|
echo "Building Artcraft Website in Production Mode..."
|
|
echo ""
|
|
|
|
pushd "${frontend_path}" || exit
|
|
|
|
npm install --verbose
|
|
|
|
export VITE_ENVIRONMENT_TYPE="production"
|
|
|
|
nx build artcraft-website
|
|
|
|
popd || exit
|