hackupc-live
所属分类:其他
开发工具:Vue
文件大小:0KB
下载次数:0
上传日期:2023-11-27 15:29:47
上 传 者:
sh-1993
说明: 黑客UPC期间的即将发生的事件信息和更多信息。
(Upcoming events information during HackUPC and more info.)
文件列表:
.editorconfig (255, 2023-11-27)
.eslintrc.cjs (1541, 2023-11-27)
.husky/ (0, 2023-11-27)
.husky/pre-commit (74, 2023-11-27)
.nvmrc (3, 2023-11-27)
.prettierignore (21, 2023-11-27)
.vscode/ (0, 2023-11-27)
.vscode/extensions.json (327, 2023-11-27)
.vscode/settings.json (526, 2023-11-27)
LICENSE (1071, 2023-11-27)
cypress.json (148, 2023-11-27)
cypress/ (0, 2023-11-27)
cypress/fixtures/ (0, 2023-11-27)
cypress/fixtures/example.json (155, 2023-11-27)
cypress/integration/ (0, 2023-11-27)
cypress/integration/example.spec.ts (191, 2023-11-27)
cypress/plugins/ (0, 2023-11-27)
cypress/plugins/index.ts (849, 2023-11-27)
cypress/plugins/tsconfig.json (213, 2023-11-27)
cypress/support/ (0, 2023-11-27)
cypress/support/commands.ts (838, 2023-11-27)
cypress/support/index.ts (670, 2023-11-27)
cypress/tsconfig.json (243, 2023-11-27)
env.d.ts (38, 2023-11-27)
index.html (2725, 2023-11-27)
lighthouserc.yaml (147, 2023-11-27)
netlify.toml (55, 2023-11-27)
package-lock.json (643639, 2023-11-27)
package.json (2358, 2023-11-27)
prettier.config.js (267, 2023-11-27)
public/ (0, 2023-11-27)
public/_redirects (70, 2023-11-27)
public/favicon.ico (15086, 2023-11-27)
public/favicon.svg (1838, 2023-11-27)
... ...
# HackUPC Live
[![Netlify Status](https://api.netlify.com/api/v1/badges/71c013e3-dd84-4bc9-b55e-548fd0b8666d/deploy-status)](https://app.netlify.com/sites/hackupc-live/deploys)
[![Build Status](https://travis-ci.com/hackupc/hackupc-live.svg?branch=main)](https://travis-ci.com/hackupc/hackupc-live)
![HackUPC live preview](src/assets/img/preview.png)
Hi! This is the code of the HackUPC live page.
## Project Setup
1. Clone the repo.
```sh
git clone https://github.com/hackupc/hackupc-live.git
```
1. Open it with [VSCode](https://code.visualstudio.com/) and install this extensions:
- [Volar](https://marketplace.visualstudio.com/items?itemName=johnsoncodehk.volar) (and disable Vetur)
- [TypeScript Vue Plugin (Volar)](https://marketplace.visualstudio.com/items?itemName=johnsoncodehk.vscode-typescript-vue-plugin).
- [Prettier](https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode)
- [EsLint](https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint)
- [StyleLint](https://marketplace.visualstudio.com/items?itemName=stylelint.vscode-stylelint)
- [MarkdownLint](https://marketplace.visualstudio.com/items?itemName=davidanson.vscode-markdownlint)
- [Grammarly](https://marketplace.visualstudio.com/items?itemName=znck.grammarly)
1. Install [Node.js](https://nodejs.org/en/download/) (preferably with [nvm](https://github.com/nvm-sh/nvm#installing-and-updating)).
1. Install the dependencies:
```sh
npm install
```
1. Run the project in development mode:
```sh
npm run dev
```
1. Go to http://localhost:3000/ to preview the app.
1. Install the [Vue.js devtools extension (beta)](https://chrome.google.com/webstore/detail/vuejs-devtools/ljjemllljcmogpfapbkkighbhhppjdbg) to debug faster.
1. Code. If you're not familiar with Vue 3, read its [official documentation](https://vuejs.org/guide), it's very good.
1. Open a Pull Request and ask for reviews to merge to `main`.
1. Whenever the PR is merged, [Netlify](https://app.netlify.com/sites/hackupc-live) will build and deploy automatically. ♂
## Edit content
### Theme
Theme variables are in `src/live/params.scss`.
### Contents
Most of the content is in `src/data` or hardcoded into the components.
### Schedule
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.
## Commands
### Install dependencies
```sh
npm install
```
### Compile and Hot-Reload for Development
```sh
npm run dev
```
### Type-Check, Compile and Minify for Production
```sh
npm run build
```
### Run Unit Tests with [Cypress Component Testing](https://docs.cypress.io/guides/component-testing/introduction)
```sh
npm run test:unit # or `npm run test:unit:ci` for headless testing
```
### Run End-to-End Tests with [Cypress](https://www.cypress.io/)
```sh
npm run build
npm run test:e2e # or `npm run test:e2e:ci` for headless testing
```
### Lint with [ESLint](https://eslint.org/)
```sh
npm run lint
```
## Support
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](https://jaumelopez.dev)
- Maurici Abad Gutierrez: Slack `@mauri` [mauriciabad.com](https://mauriciabad.com/)
- Carlota Catot Bragós: Slack `@Carlota` [carlotacb.dev](https://carlotacb.dev/)
- Bernat Torres: Slack `@bernatixer` [bernattorres.com](https://bernattorres.com/)
## License
MIT Hackers@UPC
近期下载者:
相关文件:
收藏者: