diff --git a/install.sh b/install.sh index 9ee1230..dc170c2 100644 --- a/install.sh +++ b/install.sh @@ -27,33 +27,39 @@ ip_address=$(hostname -I | cut -d' ' -f1) # Configure Nginx sudo sh -c 'cat > /etc/nginx/sites-available/default < www/config/environment.js +# Change into the www directory +cd www + +# Install ember-cli and bower globally +sudo npm install -g ember-cli@2.18.2 +sudo npm install -g bower + +# Change ownership of npm and config directories +sudo chown -R $USER:$GROUP ~/.npm +sudo chown -R $USER:$GROUP ~/.config + +# Install npm and bower dependencies +npm install +bower install + +# Install ember-truth-helpers +ember install ember-truth-helpers + +# Install jdenticon +npm install jdenticon@2.1.0 + +# Run the build.sh script within the www directory +bash build.sh + +# Change back to the main directory +cd .. + +set +x # Disable displaying commands echo "Installation completed!"