To setup any project with Olympe:
- Create a new project from this template
- Modify the
res/oConfig.json
file with your instance information
Please refer to Olympe Support page to learn how to: Install CODE.
Run npm run
to see a list of available commands. To run any command, run
npm run <command>
Command | Description |
---|---|
serve |
Shortcut for serve:draw |
serve:draw |
Build DRAW and your project and serve them on http://localhost:8888/ |
serve:node |
Build your NodeJS application and run it locally |
build |
Shortcut for build:draw |
build:draw |
Build DRAW and your project |
build:node |
Build your NodeJS application |
Your project relies on Webpack to be built and served. See files webpack.config.js
.
Webpack is configured to resolve package olympe
as @olympeio/draw
but it can be set differently if you need to deploy @olympeio/runtime-web
only, for example.
If you need to setup a backend, modify the res/oConfigNode.json
file.