Skip to content
This repository was archived by the owner on Jan 13, 2023. It is now read-only.

Let-s-Science/letsscience-app

Repository files navigation

Let's-Science App

Starting the development server

# install dependencies
sudo apt install openjdk-18-jre
npm install
cd functions && npm install && cd ..
npm install -g firebase-tools

# build the functions
npm run functions:build

# start the firebase emulator
firebase emulators:start

In a separate terminal:

# start the preact development server 
npm run dev

You can now use the served app from the local preact server.

CLI Commands

# install dependencies
npm install

# serve with hot reload at localhost:8080
npm run dev

# build for production with minification
npm run build

# test the production build locally
npm run serve

# lint the project
npm run lint

# immediately fix various issues
npm run lint-fix

# run tests with jest and enzyme
npm run test

For detailed explanation on how things work, checkout the CLI Readme.

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •