Serve Dev Mode
After all dependencies have been installed by running the
yarncommand, you will be able to serve the application in developer mode. To do this, simply run the following command in terminal, from the
Some text will appear in the terminal as the serve process initializes, along with a percentage progress indicator. Once the process finishes you should see something similar to the following:
Terminal Screen: Successful Compilation
~/Documents/elentra-developerand edit the
FRONT_END_DOMAIN=http://elentra-1x-me.localhost:8081 # This should match the Local URL displayed by yarn serve (see above screenshot)
docker-compose up -d --build
Elentra JS is now being served in development mode. In ME 1.16 or higher, you can confirm by visiting http://elentra-1x-me.localhost/sandbox. The updated Sandbox module allows you to perform CRUD operations for a series of Cards, all making use of Elentra JS 2.0.
Sandbox EJS2 Module.
You can exit development mode by cancelling the actively running operation from terminal. On macOS, the shortcut for this in most shells is