Skip to content

ElisaBaum/inception

Repository files navigation

Build Status

Inception

How To Use

The Inception App was build as monorepo with Lerna. All parts of the app are located in the packages folder.

Set up

To set up the project, run

npm install

at the root of the project.

To add a new dependency to a specific package, run:

lerna add @material-ui/icons packages/client

Start

Links local packages together, installs remaining package dependencies and starts a development server with parcel, which will automatically rebuild the apps as files change.

npm run start

Deployment

Firebase Functions

firebase deploy --only functions

Emulate Firebase

In order to emulate firebase hosting, firstore and functions locally run the following commands:

  1. Create credentials
  2. Set up firestore: firebase init firestore
  3. Install emulator: firebase setup:emulators:firestore
  4. Run emulator: GOOGLE_APPLICATION_CREDENTIALS=path/to/credentials firebase emulators:start or GOOGLE_APPLICATION_CREDENTIALS=path/to/credentials npm run emulate

Remote Debugging with Firebase

See https://github.com/googlearchive/cloud-functions-emulator/wiki/Debugging-with-WebStorm

Build

Links local packages together, installs remaining package dependencies and bundles all apps in production mode with parcel.

npm run build

Test

Links local packages together, installs remaining package dependencies and runs tests with code coverage in the packages.

npm run test

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages