The following instructions below will guide you through the process of setting up the back-end server in your local machine.
To build the module execute the command:
./setup.sh
Make a file named ballerina.conf
in core/resources
. You can refer the file example.conf
located at core/resources/
for more details. Then, update the created file with your preference of values.
All the volumes and internal networking for mongodb container is set using the docker-composer. Please follow the following commands to build the image and run.
docker-compose build
docker-compose up
Ctrl+C
to terminate the program.docker-compose down
to stop your containers.When you develop a feature and run using containers. You have to build the jar files using ./setup.sh
and then you have to build and up the docker composer.
Important - Make sure that the configuration files are setup for your local machine.
To run the module,
cd core
to navigate to the core
module../scripts/run-local.sh
.