-
Notifications
You must be signed in to change notification settings - Fork 527
/
tilemill.sh
executable file
·15 lines (11 loc) · 783 Bytes
/
tilemill.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/bash
# Source bash profile just in case they have not done that between installing nvm/npm and this.
source ${HOME}/.bash_profile
info=`tput setaf 6`;error=`tput setaf 1`;success=`tput setaf 2`;reset=`tput sgr0` # Colors for text
echo "${info}This script will run the TileMill server. You will need to leave this server running while you are using TileMill. When you are finished using TileMill you can shutdown the server by holding the control key while hitting the c key. Or, you can close the Terminal window.${reset}"
echo "${info}----------------------------------------------------------------------${reset}"
echo ""
# Run the client. This script will launch the browser once the server has successfully started.
./utils/runclient.sh &
# Start the server.
npm start