SpongePowered/SpongeHome

Name: SpongeHome

Owner: SpongePowered

Description: A brand new homepage for SpongePowered

Created: 2016-04-08 02:25:18.0

Updated: 2018-04-28 03:30:10.0

Pushed: 2018-04-05 10:04:32.0

Homepage: https://spongepowered.org/

Size: 5449

Language: JavaScript

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

SpongeHome

The Sponge Project website, licensed under the MIT license. See LICENSE.md for details.

Branches
Running locally
1. Prerequisites
2. Cloning

To clone SpongeHome and get all of it's dependencies you can run:

et github.com/SpongePowered/SpongeHome
3. Installing Gulp

To watch and compile the SASS files you will need Gulp installed.

install gulp --global
install

Now you are ready to use Gulp.

4. Using 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.

5. Running the application

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.

Using the Node.js development server

If you are developing the downloads page you should consider using the Node.js development server instead of the Go server. The webpack-dev-server will automatically inject the latest changes to the JS files into the running session in your browser. You can start the Node.js development server using gulp dev.

NOTE: Loading announcements is not supported using the Node.js development server.

Environment variables

Optional:

Build directories

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.