Categories
<All Topics
Print

How to test a specific branch of LigeroSmart

To test a development branch of LigeroSmart, follow these steps:

Upload an instance of LigeroSmart

Run an instance based on the development Stack as below, naming the destination folder through the PROJECT_NAME variable and pointing directly to the branch of the code that will be tested in the CODE_BRANCH variable:

curl https://get.ligerosmart.com | BRANCH=dev CODE_BRANCH= feat/XXXXXXXXX PROJECT_NAME=project_name sh

Make sure the environment is working by accessing the URL http://localhost (It may take a few minutes to load the interface)

The default user interface is root@localhost and the initial password is light

Access the folder created with the project name

cd project_name

Access the LigeroSmart console:

make console

Ready! You can start your tests and even continue the development of a new feature for LigeroSmart.

Comments

The variable BRANCH=dev refers to the BRANCH of the Stack. You can see the complete list in the Stack repository:

https://github.com/LigeroSmart/ligerosmart-stack/branches

The CODE_BRANCH variable refers to the BRANCH of the LigeroSmart code. See the full list here below:

https://github.com/LigeroSmart/ligerosmart/branches

Previous LigeroSmart development cookbook
Next How to update LigeroSmart to the latest development version (nightly build)

Leave a Reply

Your email address will not be published. Required fields are marked *

summary