Hi! This is the code of the HackUPC live page.
- Clone the repo.
git clone https://github.com/hackupc/hackupc-live.git
- Open it with VSCode and install this extensions:
- Volar (and disable Vetur)
- TypeScript Vue Plugin (Volar).
- Prettier
- EsLint
- StyleLint
- MarkdownLint
- Grammarly
- Install Node.js (preferably with nvm).
- Install the dependencies:
npm install
- Run the project in development mode:
npm run dev
- Go to http://localhost:3000/ to preview the app.
- Install the Vue.js devtools extension (beta) to debug faster.
- Code. If you're not familiar with Vue 3, read its official documentation, it's very good.
- Open a Pull Request and ask for reviews to merge to
main
. - Whenever the PR is merged, Netlify will build and deploy automatically. 🧙🏻♂️
Theme variables are in src/live/params.scss
.
Most of the content is in src/data
or hardcoded into the components.
The schedule is in src/data/schedule.ts
.
id
can be whatever you want, but all ids must be different.dates
are D/M/YYYY format at Spain time.
npm install
npm run dev
npm run build
Run Unit Tests with Cypress Component Testing
npm run test:unit # or `npm run test:unit:ci` for headless testing
Run End-to-End Tests with Cypress
npm run build
npm run test:e2e # or `npm run test:e2e:ci` for headless testing
Lint with ESLint
npm run lint
If you need help understanding something of this repo you can ask the previous developers. The ones that made this edition live were:
- Jaume López: Slack
@jaume
jaumelopez.dev - Maurici Abad Gutierrez: Slack
@mauri
mauriciabad.com - Carlota Catot Bragós: Slack
@Carlota
carlotacb.dev - Bernat Torres: Slack
@bernatixer
bernattorres.com
MIT © Hackers@UPC