19 lines
481 B
Bash
Executable File
19 lines
481 B
Bash
Executable File
#!/bin/bash
|
|
|
|
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
|
|
PROJECT_DIR=$(realpath $SCRIPT_DIR/../../)
|
|
ENV_DIR=$(realpath $PROJECT_DIR/../../)
|
|
|
|
# Build and start docker containers
|
|
$SCRIPT_DIR/exec build
|
|
$SCRIPT_DIR/exec up -d
|
|
|
|
# Source drun
|
|
source $ENV_DIR/bin/script/drun
|
|
|
|
# Install node Packages
|
|
drun homepage-frontend npm install
|
|
drun homepage-frontend npm install -g @angular/cli
|
|
|
|
# Initial build of website
|
|
drun homepage-frontend npm run build |