0.1.2 • Published 5 years ago

@ibis-app/lib v0.1.2

Weekly downloads
6
License
ISC
Repository
github
Last release
5 years ago

ibis

Build Status Greenkeeper badge lerna Maintainability

Serves an old app via node: http://ouribis.com.

get started

Install all packages (examples assume npm):

npm i

Build:

npm run build

Start the app:

npm start

This project assumes that you have a copy of the old IBIS app, which you can drop in packages to have ibis-api pick up all the sources, and cache them in our own format.

The app starts on http://localhost:8080 by default, and the api starts on http://localhost:3000. Both of these are respectively configurable via:

environment variablewhat it configuresdefault
APP_HOSTNAMEThe hostname for ibis-app'localhost'
APP_PORTThe port for ibis-app8080
API_HOSTNAMEThe hostname for ibis-api'localhost'
API_PORTThe port for ibis-api3000

These are both initially configured in config.ts for both packages.

architecture

Each project in packages is a component of this app. ibis-lib holds common code between ibis-api and ibis-app, the frontend and backend respectively.

Each project uses gulp to automate build processes, and dist/ is generally the folder where built artefacts go.

packaging

This project uses pkg to create an executable that anyone can run, without installing node:

npm run pkg

Make sure that you've built everything (npm run build) before running this.