Lenra Template Node12
This template repository provides an hello world example of a Lenra app to get you started building your own.
Report Bug
·
Request Feature
Getting Started
Prerequisites
You need to install the following :
Setup your project
- Create your project using this template
- Clone your project
git clone https://github.com/username/project.git
- Run the devtools
docker run -it --rm -p 4000:4000 -v ${PWD}:/home/app/function lenra/devtools-node12:beta
- Open http://localhost:4000
- Enjoy your local development !
Deploy your project on Lenra
- Register or login into your dev account on https://dev.lenra.io
- Create a new project
- Provide a DIRECT link to your git repository. More about this
Troubleshooting
Direct repository url
This url is basically the same you use to clone your project via HTTPS. Make sure your url follow these rules :
- The url must start with
http(s)
url and end with.git
. - Your url must allow us to clone your project without credentials. This means that if your project is private, you must provide credentials into the url.
https://github.com/username/project.git
Create a github url with credentials
The safest way to do that is by creating a personnal access token Your url can now use this token :
https://username:access_token@github.com/username/repo_name.git
Contributing
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please open an issue with the tag "enhancement" or "bug". Don't forget to give the project a star! Thanks again!
License
Distributed under the MIT License. See LICENSE for more information.
Contact
Lenra - @lenra_dev - contact@lenra.io
Project Link: https://github.com/lenra-io/template-hello-world-node12