/lenra-app

Primary LanguageJavaScript

Contributors Forks Stargazers Issues MIT License


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 :

  • git to clone the project
  • Docker to start the devtools
  • nodejs
  • Your favorite IDE

(back to top)

Setup your project

  1. Create your project using this template
  2. Clone your project
    git clone https://github.com/username/project.git
  1. Run the devtools
    docker run -it --rm -p 4000:4000 -v ${PWD}:/home/app/function lenra/devtools-node12:beta
  1. Open http://localhost:4000
  2. Enjoy your local development !

(back to top)

Deploy your project on Lenra

  1. Register or login into your dev account on https://dev.lenra.io
  2. Create a new project
  3. Provide a DIRECT link to your git repository. More about this

(back to top)

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

(back to top)

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!

(back to top)

License

Distributed under the MIT License. See LICENSE for more information.

(back to top)

Contact

Lenra - @lenra_dev - contact@lenra.io

Project Link: https://github.com/lenra-io/template-hello-world-node12

(back to top)