fix: flame v2
This commit is contained in:
@@ -49,8 +49,11 @@ function update_script() {
|
||||
|
||||
msg_info "Rebuilding Application"
|
||||
cd /opt/flame
|
||||
$STD npm run dev-init
|
||||
mkdir -p data public
|
||||
touch public/flame.css public/customQueries.json
|
||||
$STD npm install
|
||||
cd /opt/flame/client
|
||||
$STD npm install
|
||||
$STD npm run build
|
||||
cd /opt/flame
|
||||
cp -r client/build/. public/
|
||||
|
||||
@@ -19,13 +19,15 @@ fetch_and_deploy_gh_release "flame" "pawelmalak/flame" "tarball"
|
||||
|
||||
msg_info "Setting up Flame"
|
||||
cd /opt/flame
|
||||
$STD npm run dev-init
|
||||
mkdir -p data public
|
||||
touch public/flame.css public/customQueries.json
|
||||
$STD npm install
|
||||
cd /opt/flame/client
|
||||
$STD npm install
|
||||
$STD npm run build
|
||||
cd /opt/flame
|
||||
cp -r client/build/. public/
|
||||
$STD npm rebuild sqlite3
|
||||
touch public/flame.css public/customQueries.json
|
||||
cat <<EOF >/opt/flame/.env
|
||||
NODE_ENV=production
|
||||
PASSWORD=
|
||||
|
||||
Reference in New Issue
Block a user