Composed of two packages: robustar
and robustar-image-editor
. Packages are managed with Lerna and npm workspaces.
robustar-image-editor
is adopted from tui.image-editor
First, make sure you are in front-end
folder, and have Node.js (>= 15) and npm installed.
In /front-end
folder, run
npm install
You are now all set with the environment.
To run robustar
, first build the robustar-image-editor
with
npm run build:editor
Then, run robustar
with
npm run serve:main
Note that whenever you make changes to robustar-image-editor
, you will have to build editor again with npm run build:editor
, so that changes take effect on robustar
. Alternatively, you can run editor alone to view real-time changes:
npm run serve:editor
To use Cypress for E2E testing, you can run the following command:
npm run cypress:open
- Fabric Canvas object doc. Use this to draw.