Awesome
<div id="top"></div> <!-- *** This README was created with https://github.com/othneildrew/Best-README-Template --> <!-- PROJECT SHIELDS --> <!-- PROJECT LOGO --> <br /> <div align="center"> <h3 align="center">Template V</h3> <p align="center"> This template provides just enough to get started with your <a href="https://github.com/vlang/v">V</a> application. <br /> <br /> <a href="https://github.com/lenra-io/template-v/issues">Report Bug</a> · <a href="https://github.com/lenra-io/template-v/issues">Request Feature</a> </p> </div>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
<!-- MARKDOWN LINKS & IMAGES -->
<!-- https://www.markdownguide.org/basic-syntax/#reference-style-links -->