Skip to content
This repository has been archived by the owner on Jun 24, 2021. It is now read-only.

Latest commit

 

History

History
55 lines (42 loc) · 1.46 KB

README.md

File metadata and controls

55 lines (42 loc) · 1.46 KB

nwHacks 2019 ⛰

The website, registration, and check-in system for nwHacks 2019

Build Status


🚧 Development

$> git clone https://github.com/nwplus/nwhacks2019.git
$> cd nwhacks2019 ; make
$> cp .example.env .env
$> vi .env # fill out environment variables

Web App

The front-end is a React web app.

$> make web         # Serve web app using webpack-dev-server
$> make test        # To run the web app tests locally
$> make lint        # To run the linter locally
$> make build       # To build the web app into `./docs`
$> make serve       # Serve built static web app

Functions

The back-end is powered by serverless functions deployed to Firebase.

$> make functions   # Deploy functions locally
$> make shell       # Start an interactive shell for functions

# Deployment
$> make deploy-dev
$> make deploy-prod

Running the entire app

For development: To serve the web app locally and emulate the cloud functions locally, use make dev. For production: To build the web app and publish the cloud functions to production, use make prod.