19 lines
443 B
Bash
Executable File
19 lines
443 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# script/setup: Set up application for the first time after cloning, or set it
|
|
# back to the initial first unused state.
|
|
|
|
source "$(dirname "${0}")"/../script/include/global_header.inc.sh
|
|
|
|
# create upload directory for app
|
|
mkdir -p uploads
|
|
|
|
# Enable database resetting
|
|
RESET_DB="true"
|
|
|
|
# Run the shared setup script
|
|
source ./script/include/run_setup
|
|
|
|
# Compile assets and generate hash-named static files
|
|
yarn build
|