buncms v0.1.0
buncms - es4x
This is your SPA blueprint project. Ensure you have node installed on your path. And optionally GraalVM.
Build
Run your package manager tool to install the required dependencies:
npm installor
yarn installFrom now on will assume you're using NPM.
Run
cp e.g./config.ts config.ts
npm startIn case you need to use >ES5.1 features you MUST run on GraalVM.
Packaging
The project can be packaged into a container. For this run:
npm run dockerfileThis step will create the basic Dockerfile required to run your application. By default it will use the GraalVM image
but you're not required to. The best options are either GraalVM or JDK >=11.
docker build -t yourtag:your-version .And run the container as:
docker run --rm --net=host yourtag:your-versionAny arguments after the image name will be passed to the application, this allows the customization of the start command, for example --cluster will start the application in a vert.x cluster.
Develop
"dependencies": {
"@bunred/buncms": "/Volumes/.../buncms_es4x/buncms-0.0.26.tgz",
//or "@bunred/buncms": "/Volumes/.../buncms_es4x",
}, yarn --force5 years ago