If you want to get access to files created before or after compilation form the console you are able to do this. Source code of Tasmota is located in /tmp/Tasmota
- press
ctrl+c
at the gitpod console - change directory to
/tmp/Tasmota
by typingcd /tmp/Tasmota
- Now you can check from terminal what for example is the content of
platformio.ini
oruser_config_override.h
files. - type this command to see last 10 lines of
user_config_override.h
file:tail sonoff/user_config_override.h
- start TasmoCompiler again:
cd /workspace/tasmocompiler
andnode server/app.js
If you have TasmoCompiler docker running (started by docker run --rm --name tasmocompiler -p 3000:3000 benzino77/tasmocompiler
) open a new terminal tab/window and:
- run this command to get into container:
docker exec -it tasmocompiler /bin/bash
- change directory to
/tmp/Tasmota
by typingcd /tmp/Tasmota
- Now you can check from terminal what for example is the content of
platformio.ini
oruser_config_override.h
files. - type this command to see last 10 lines of
user_config_override.h
file:tail sonoff/user_config_override.h
- exit docker container shell by pressing
ctrl+d
If you want to use someone fork of Tasmota project, and want to use TasmoCompiler to compile it, it is possible (at least with this one used in the example). The steps below, are based on Stefan Bode fork of Tasmota code.
- start your gitpod workspace
- close all tabs/windows with TasmoCompiler GUI (it is important, because the problem with WebSockets can arise)
- in the gitpod console (bottom part of the view, where the information Server started on port 3000 is displayed) hit ctrl+c
- type:
cd /tmp
- type:
rm -rf Tasmota
- type:
git clone https://github.com/stefanbode/Sonoff-Tasmota.git Tasmota
<- this is importatnt to clone toTasmota
folder - type:
cd Tasmota
- type:
git checkout -b development
- type:
cd /workspace/tasmocompiler
- type:
node server/app.js
- open TasmoCompiler GUI by clicking "Open Browser" (if it didn't open automatically)
In step 8 the development
branch is created from current master of Stefan Bode fork. You can also create develepment
branch from any commit from the past by typing:
git checkout -b development <sha1-of-commit>
You can also copy and paste this oneliner: cd /tmp && rm -rf Tasmota && git clone https://github.com/stefanbode/Sonoff-Tasmota.git Tasmota && cd Tasmota && git checkout -b development && cd /workspace/tasmocompiler && node server/app.js
- close all tabs/windows with TasmoCompiler GUI (it is important, because the problem with WebSockets can arise)
- run
docker exec -it tasmocompiler /bin/bash
on machine where your container is running - type:
cd /tmp
- type:
rm -rf Tasmota
- type:
git clone https://github.com/stefanbode/Sonoff-Tasmota.git Tasmota
<- this is important to clone toTasmota
folder - type:
cd Tasmota
- type:
git checkout -b development
- exit docker container shell by pressing
ctrl+d
- point the browser to the address and port of your docker host
You can also copy and paste this oneliner: cd /tmp && rm -rf Tasmota && git clone https://github.com/stefanbode/Sonoff-Tasmota.git Tasmota && cd Tasmota && git checkout -b development
At the Select version and compile step, you will be able to choose only development
version of Tasmota. If you want to see other versions, you have to create git tags (with names compatibile with original Tasmota tags) from commits in Stefan Bode git repo. TasmoCompiler will only look at tags which names starts with v6*, v7*
or v8*
.