A URL shortener (visit http://luu.bz)
- Code setup
- Make sure you have GOPATH setup correctly.
- Put
shawty
at$GOPATH/src/go.3fps.com/shawty
- Make configure changes to
shawty/run
. For DB configuration, please see the examples at the go-mysql-driver page. - Database setup (MySQL)
- Create a MySQL database and run the setup script at
shawty/install/db.sql
- Run project
- Go to the shawty diretory:
cd $GOPATH/src/go.3fps.com/shawty
- Execute the run script (might need
sudo
if the port is set to 80):./run