1.0.2 • Published 4 years ago

phoenix-app v1.0.2

Weekly downloads
1
License
Apache-2.0
Repository
github
Last release
4 years ago

Phoenix application

Version Downloads

This project was generated with Angular CLI version 7.3.4.

To install the package for reusing components.

npm install phoenix-app

Event display

This application uses the phoenix-event-display package (source) for all event display functionality. You can either use the npm package as is (through npm install phoenix-event-display).

Or symlink the local version of the package (for development) by following the steps below.

Build and run

This is an Angular application, so you will need to have Node js and Angular CLI installed locally.

You can follow this guide to set up your local environment.

Once everything is set up, run ng serve from the command line in the project directory for a dev server. Then navigate to http://localhost:4200/ from your browser. The app will automatically reload if you change any of the source files.

Development flow (with phoenix-event-display)

From the project repository directory.

## Symlink the event display which will let us use the local version of the phoenix-event-display package
cd packages/phoenix-event-display
npm link
cd ../phoenix-app
npm link "phoenix-event-display"

## Run the event display in development mode
cd ../phoenix-event-display
npm run dev

## Run the Angular app
cd ../phoenix-app
ng serve

Now any changes in the phoenix-event-display package (source) will build the package and the Angular app will pick up the changes made to the event display.