Pilot Light application template
Go to file
2025-04-15 21:57:15 -05:00
extensions build: update for PL changes 2025-04-06 21:26:31 -05:00
scripts chore: update template for PL changes 2025-04-15 21:57:15 -05:00
src chore: update template for PL changes 2025-04-15 21:57:15 -05:00
.gitignore initial commit 2025-02-12 21:31:42 -06:00
README.md docs: update readme 2025-02-13 19:14:49 +00:00

Pilot Light Template

Information

This repository acts as a template for creating a Pilot Light application using the engine source. In the future, a binary template will be created.

Build

As a first step, clone and build Pilot Light. Here we are assuming it is adjacent to this repo. If not, pass the correct relative location to gen_build.py.

Windows

From within a local directory, enter the following commands in your terminal:

# clone & build pilot light
git clone https://github.com/PilotLightTech/pilotlight
cd pilotlight/src
build_win32.bat

# clone & build example
cd ..
git clone https://git.pilotlight.tech/pilotlight/pl-template
cd pl-template/scripts
python setup.py
python gen_build.py ../../pilotlight
cd ../src
build.bat

Linux

From within a local directory, enter the following commands in your terminal:

# clone & build pilot light
git clone https://github.com/PilotLightTech/pilotlight
cd pilotlight/src
chmod +x build_linux.sh
./build_linux.sh

# clone & build example
cd ..
git clone https://git.pilotlight.tech/pilotlight/pl-template
cd pl-template/scripts
python3 setup.py
python3 gen_build.py ../../pilotlight
cd ../src
chmod +x build.sh
./build.sh

MacOS

From within a local directory, enter the following commands in your terminal:

# clone & build pilot light
git clone https://github.com/PilotLightTech/pilotlight
cd pilotlight/src
chmod +x build_linux.sh
./build_linux.sh

# clone & build example
cd ..
git clone https://git.pilotlight.tech/pilotlight/pl-template
cd pl-template/scripts
python3 setup.py
python3 gen_build.py ../../pilotlight
cd ../src
chmod +x build.sh
./build.sh

Binaries will be in pilotlight/out/.

Run the application by pressing F5 if using VSCode or manually like so:

# windows
pilot_light.exe -a template_app

# linux/macos
./pilot_light -a template_app