Update script to use shared fragments from the include dir
This commit is contained in:
parent
516feb2cd4
commit
1ea184f049
24
script/setup
24
script/setup
@ -3,24 +3,10 @@
|
|||||||
# script/setup: Set up application for the first time after cloning, or set it
|
# script/setup: Set up application for the first time after cloning, or set it
|
||||||
# back to the initial first unused state.
|
# back to the initial first unused state.
|
||||||
|
|
||||||
# If a command fails, exit the script
|
source "$(dirname "${0}")"/../script/include/global_header.inc.sh
|
||||||
set -e
|
|
||||||
|
|
||||||
# Ensure we are in the app root directory (not the /script directory)
|
# Turn on sass compiler installation
|
||||||
cd "$(dirname "${0}")/.."
|
INSTALL_SASS="true"
|
||||||
|
|
||||||
# Install virtualenv
|
# Run the shared setup script
|
||||||
pip install pipenv
|
source ./script/include/run_setup
|
||||||
pipenv --python 3.6
|
|
||||||
|
|
||||||
if ! type sass > /dev/null; then
|
|
||||||
if type gem > /dev/null; then
|
|
||||||
echo 'installing a sass compiler...'
|
|
||||||
gem install sass
|
|
||||||
else
|
|
||||||
echo 'Could not install a sass compiler. Please install a version of sass.'
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Install application dependencies
|
|
||||||
script/bootstrap
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user