Skip to content

hacksu/kenthackenough-ui-2022

 
 

Repository files navigation

Develop

With Node.js installed, put npm run serve into the console with this directory open to get a version of this website at http://localhost:3000 that should automatically update when you change its code.

Adding Sponsorship Logos

There is a file called sponsors.js inside of src. You can edit this file based on the examples provided inside it to add new companies to appear on the sponsorship page.

To hide the information for people to sponsor KHE (aka, when we're a week or two out and we close the ability to sponsor us), you can adjust allowSponsorship inside App.vue's data.

Logos can be added by putting them inside src/assets/sponsors and then referencing them as per the example HacksuLogo inside of sponsors.js Logos can also be used remotely by specifying a link to an already existing asset.

Pushing to live

Setup

DigitalOcean Tutorial

cd /var/www
mkdir kenthackenough-ui-2022
mkdir kenthackenough-ui-2022.git
cd kenthackenough-ui-2022.git
git init --bare
nano hooks/post-receive

Here's the contents of hooks/post-receive

#!/bin/sh
git --work-tree=/var/www/kenthackenough-ui-2022 --git-dir=/var/www/kenthackenough-ui-2022.git checkout -f
cd /var/www/kenthackenough-ui-2022
npm install
npm install --dev
npm run build
chmod +x hooks/post-receive

Deployment

Add live remote (if you haven't already)

git remote add live ssh://[email protected]/var/www/kenthackenough-ui-2022.git

Push to live

git push live master
# log in with KHE server password. You can find in social accounts/server document.

kenthackenough-ui-2019

Project setup

npm install

Compiles and hot-reloads for development

npm run serve

Compiles and minifies for production

npm run build

kenthackenough-ui-2019

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Vue 88.2%
  • JavaScript 6.0%
  • SCSS 4.8%
  • HTML 1.0%