a661e439a0
Add the current frontend codebase with a baseline .gitignore and update piano-specific UI terms to teaching-oriented terms for the current product context. Made-with: Cursor
16 lines
258 B
Bash
Executable File
16 lines
258 B
Bash
Executable File
#!/bin/sh
|
|
set -x
|
|
|
|
git restore .
|
|
git fetch origin
|
|
git rebase origin/master
|
|
|
|
openresty_html_dir='/usr/local/opt/openresty/nginx/html/music-room'
|
|
|
|
mkdir -p $openresty_html_dir
|
|
|
|
rm -rf node_modules && yarn
|
|
npm run build:local
|
|
|
|
cp -r ./dist/* $openresty_html_dir
|