The Sponge Project website, licensed under the MIT license. See LICENSE.md for details.
masteris hooked up to www prod
To clone SpongeHome and get all of it's dependencies you can run:
go get github.com/SpongePowered/SpongeHome
To watch and compile the SASS files you will need Gulp installed.
npm install gulp --global
npm install
Now you are ready to use Gulp.
For just building the sass files use gulp build.
For watching the sass files use gulp watch - This will keep building the sass
files as you edit them.
To run SpongeHome, you can run go run spongehome.go in terminal, or the
command line. SpongeHome will now be running locally on port 4000.
NOTE: You will need to rerun this when you make a change to the Golang source.
Optional:
MACARON_ENV=production: Set the application in production modePORT: Modify the port of the HTTP serverFASTLY_CACHE=API_KEY/SERVICE_ID[;healthcheck]: Purge Fastly cache after start and hide health checks from the log
publiccontains the static assets that are served directly (e.g. images)dist/devcontains the static files to serve in the development environmentdist/prodcontains the static files to serve in the production environment