atst/script/setup

19 lines
447 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 uploads | true
# 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