#!/bin/bash if [ ! -f "./Fork-Awesome/.git" ]; then echo -e "\x1b[31;1mFA submodule is not initialized, exit...\x1b[m" exit fi cd Fork-Awesome echo "=== Installing ruby dependencies ===" bundle install --path vendor/bundle echo echo "=== Installing NODE dependencies ===" npm install echo echo ">>> If no errors occured, FA should be ready to build." echo -e "\x1b[90m(npm complaining about vulnerabilities is probably okay)\x1b[m" bash ./refresh-templates.sh