Skip to content
This repository has been archived by the owner on Jul 27, 2020. It is now read-only.
/ durhack-website Public archive
forked from thien/durhack

Website assets for DurHack hackathon 💣

License

Notifications You must be signed in to change notification settings

ducompsoc/durhack-website

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ARCHIVED: This repository is no longer active

This repository represents an old version of the DurHack website.

As of Tuesday 5th November 2019, the DurHack website now uses the ducompsoc/durhack repository.

DurHack

hello world

These are website assets for the DurHack hackathon (the fourth one, as of the write-up of this README).

Quick Start

Hopefully, it should be as trivial as cloning the repo, cding into the repository, and slapping the following commands into the terminal (assuming node.js is installed):

cd src/
npm start

Having trouble with node v12? Try using v10. nvm is a great way to set this up.

Development

You can run the asset watcher (which will re-build the assets every time you change them) with:

npm run watch

Relevant JS and CSS files to edit are in the following two directories respectively:

src/assets/js/
src/assets/sass

Do not edit the contents of src/assets/vendor/.

deployment

Presently, we've used a Digital Ocean box which is covered through the Github Student Pack. pm2 is used to run the service as a daemon, with nginx acting as a reverse proxy. SSL certificates were created using Let's Encrypt (A good tutorial on how to do this yourself can be found here.) Optionally, there are lots of open source scripts that will act as a git webhook, allowing changes to be deployed as soon as changes are pushed into your repo (similar to how Heroku works), but I'm not sensible enough to allow that to be deployed.

blah blah blah ok w/e but can I use this for my own hackathon website?

Sure, but obviously don't use our logo and colourscheme or whatever. That'll be silly.

About

Website assets for DurHack hackathon 💣

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • HTML 51.5%
  • JavaScript 25.5%
  • CSS 23.0%