Skip to content
Source code for the HackSurrey Beta Hackathon site | 5-6th May 2018
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app
components
public
resources
stylesheets
.babelrc
.gitignore
.travis.yml
LICENSE
README.md
package-lock.json
package.json
postcss.config.js
webpack.config.js

README.md



Build Status license GitHub top language Twitter Follow


Introduction

Before playing around with this website you need to understand how everything fits together. The website itself is a single Vue application. The Vue application is loaded in the app\application.js file and the app\Application.vue component is used to render the application. Weback is used to bundle everything together (the how is defined in the webpack.config.js file) as well as to create a development server with livereload (using the npm run dev command). Deployment is very simple: everything inside the public folder after npm run build has been executed needs to be published. In our case, this is done by using TravisCI and Github Pages.

Serving Files Locally (during Development)

  1. Clone this repository using git:
    $ git clone https://github.com/hacksurrey/beta.git
    
  2. Install all Node dependencies using NPM (whilst I adore Yarn, I chose not to use it for this project):
    $ npm install
    
  3. Start the development server using Node and NPM:
    $ npm run dev
    
  4. That's it! If everything has been done correctly, Node has now started a development server (usually on localhost:8080) and has also opened your browser to this location. Have fun and don't break anything!
You can’t perform that action at this time.