/template-v

V language template to start your Lenra app

Primary LanguageVMIT LicenseMIT

Contributors Forks Stargazers Issues MIT License


Template V

This template provides just enough to get started with your V application.

Report Bug · Request Feature

Get Started !

Requirements*

  • docker
  • docker-compose
  • buildkit
  • lenra_cli

*Unchecked value is optional

How to install lenra_cli

You need to install the Lenra CLI to start the devtools that will show your app.

To download it, you can use cargo or download the binary via the latest github release assets

From cargo you need to run the following command :

cargo install lenra_cli --version=1.0.0-beta.5
# or `cargo install lenra_cli@1.0.0-beta.5`

When installed you can run the binary file

lenra --version

Building and debugging your app

To build your app, you can run the lenra build command that will build the docker container

lenra build

The lenra start command will start all needed services to make your app ready and then open your browser so you can start debugging.

lenra start

When everything is fine, you can stop your app by running the lenra stop command. That will interrupt all current running services about your app. And delete all data from your app to be able to keep your test clean.

lenra stop