The OwlHacks website.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
public
routes
.bowerrc
.gitignore
LICENSE
README.md
bower.json
gulpfile.js
index.js
package.json

README.md

Owlhacks Site

Getting Source

To download the source code of the website, you'll need to fork this repository. That way, when you make changes you can submit a pull request to update the actual website.

git clone git@github.com:/<YOUR GITHUB USER NAME>/site

Prerequisites

$ npm install -g bower
  • Gulp - Streaming build manager:
$ npm install -g gulp

Running the Site

The fastest way to get started with the MEAN stack is to clone the project from your forked repo and utilize it like this:

Install dependencies:

$ npm install
$ bower install

Use gulp to start the server:

$ gulp dev

Then open a browser and go to:

http://localhost:3000

Deploying the Site

The deployment scheme for the Owlhacks website is powered by forever and gulp:

Install dependencies:

$ npm install -g forever
$ npm install
$ bower install

Use gulp to build the assets of the server:

$ gulp clean deploy

Use forever to run the server:

$ sudo forever start index.js

Open tmux, then setup the githook:

$ tmux
$ gulp prod

The site is now running on port 80, and the githook is running on port 4000.

License

(The MIT License)

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the 'Software'), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.