crystal-kemal-svelte-rollup Svelte Themes

Crystal Kemal Svelte Rollup

TEMPLATE CRYSTAL KEMAL SVELTE ROLLUP

A simple web app template using crytal as webserver with kemal framework and websocket support, svelte and rollup as javascript front framework, Jest for testing and bulma as css framework (all using pug, typescript and scss).

Build and run container image

Linux / MacOS / Zsh

podman build \
    --tag crystal-kemal-svelte-rollup \
    $HOME/Repositories/GitHub/tde-template/crystal-kemal-svelte-rollup

podman run \
    --detach \
    --interactive \
    --tty \
    --name crystal-kemal-svelte-rollup \
    --publish 5000:5000 \
    --mount type=bind,source=$HOME/Repositories/GitHub/tde-template/crystal-kemal-svelte-rollup,target=$HOME/crystal-kemal-svelte-rollup crystal-kemal-svelte-rollup \
    sleep infinity

podman exec \
    --interactive \
    --tty crystal-kemal-svelte-rollup \
    zsh

podman start \
    crystal-kemal-svelte-rollup

podman stop \
    crystal-kemal-svelte-rollup

podman rm \
    crystal-kemal-svelte-rollup

Windows / Powershell

podman build `
    --tag crystal-kemal-svelte-rollup `
    $Home\Repositories\GitHub\tde-template\crystal-kemal-svelte-rollup

podman run `
    --detach `
    --interactive `
    --tty `
    --name crystal-kemal-svelte-rollup `
    --publish 5000:5000 `
    --mount type=bind,source=$Home\Repositories\GitHub\tde-template\crystal-kemal-svelte-rollup,target=/workspace crystal-kemal-svelte-rollup `
    sleep infinity

podman start `
    crystal-kemal-svelte-rollup

podman exec `
    --interactive `
    --tty crystal-kemal-svelte-rollup `
    zsh

podman stop `
    crystal-kemal-svelte-rollup

podman rm `
    crystal-kemal-svelte-rollup

Install and build steps

cd /workspace
npm install
shards install
npm run check
npm run test
npm run build
npm run start
npm run start:watch
npm run start:crystal

Git flow

The Git Flow is the most known workflow on this list. It was created by Vincent Driessen in 2010 and it is based in two main branches with infinite lifetime:

  • main : this branch contains production code. All development code is merged into main sometime.
  • develop : this branch contains pre-production code. When the features are finished then they are merged into develop.

During the development cycle, a variety of supporting branches are used:

  • us/* : derived from feature/* if different developers work on a same user story that need to be split.
  • feature/* : feature branches are used to develop new features for the upcoming releases. May branch off from develop and must merge into develop.
  • hotfix/* : hotfix branches are necessary to act immediately upon an undesired status of main. May branch off from main and must merge into main anddevelop.
  • release/* : release branches support preparation of a new production release. They allow many minor bug to be fixed and preparation of meta-data for a release. May branch off from develop and must merge into main and develop.

this image describe the worflow:

Contributing

Product Owner :

Scrum Master :

Development team :


Top categories

Loading Svelte Themes