-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
eff27b8
commit fb144c7
Showing
1 changed file
with
24 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,27 @@ | ||
# React + Vite | ||
# BostonHacks Registration Portal 2023 | ||
|
||
This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules. | ||
[![Actions Status](https://github.com/bostonhacks/bostonhacks-2022/workflows/Production%20Workflow/badge.svg)](https://github.com/Bostonhacks/BostonHacks-2022/actions) | ||
[![License](http://img.shields.io/badge/License-MIT-brightgreen.svg)](./LICENSE) | ||
|
||
Currently, two official plugins are available: | ||
## Project setup | ||
|
||
- [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react/README.md) uses [Babel](https://babeljs.io/) for Fast Refresh | ||
- [@vitejs/plugin-react-swc](https://github.com/vitejs/vite-plugin-react-swc) uses [SWC](https://swc.rs/) for Fast Refresh | ||
# Bostonhacks-2023 | ||
```bash | ||
npm install | ||
npm run dev | ||
``` | ||
|
||
The dev server should open on [http://127.0.0.1:5173/](http://127.0.0.1:5173/). | ||
|
||
## Github Workflows | ||
|
||
Github workflows is set up on this project so that there is an automatic deployment to the [BostonHacks staging site](staging.bostonhacks.io) so changes can be seen on the site after each merge. | ||
|
||
## Deploying the Website to Production | ||
|
||
After running the buildscript, run the following command. | ||
|
||
```bash | ||
firebase deploy --only hosting:production | ||
``` | ||
|
||
Open [https://bostonhacks.io](https://bostonhacks.io/) to view production |