Hi! This is the code of the HackUPC landing page.
Clone the repo, install nvm, install Node.js with nvm, and install the dependencies with npm the first time:
git clone git@github.com:hackupc/hackupc-landing.git
cd hackupc-landing
# Install nvm
# Copy the command from here: https://github.com/nvm-sh/nvm#installing-and-updating
nvm install
nvm use
npm install
Use npm run start
to compile and serve the build directory in real-time. It reloads every time there's a change. Then view the website at https://localhost:3000
npm run start
Whenever you want, fix auto-fixable lint errors and format files:
npm run lint:eslint
npm run lint:stylelint
npm run lint:prettier
- Use
VS code
, there's the.vscode
folder with a good workspace configuration. It will be applied automatically. - Install
ESlint
andPrettier
extensions.
If you're unfamiliar with modern vanilla websites, check this video from CodelyTV (in Spanish) to understand the reasoning and benefits of this kind of architectures.
Push to master. Netlify will build and deploy automatically.
If you push something that doesn't build, don't worry, it won't be published.
If you need help understanding something about this repo you can ask the previous developers. The ones that made the 2021 edition are:
- Maurici Abad Gutierrez: Slack
@mauri
mauriciabad.com
MIT © Hackers@UPC