-
Notifications
You must be signed in to change notification settings - Fork 13
2.1 | How to build and run (Linux)
Rácz Zalán edited this page Nov 25, 2023
·
2 revisions
-
Open the Terminal
-
Install VS Code
snap install --classic code
-
Install npm
sudo apt install npm
-
Install git
sudo apt install git
-
Install the JRE
sudo apt install default-jre
-
Clone the repository
git clone https://github.com/racz16/WebGL-GLSL-Editor.git
-
Go inside the repository's root folder
cd WebGL-GLSL-Editor
-
Install dependencies
npm install
-
Generate code
npm run compile-antlr-linux
You have to generate code again, every time you change the AntlrGlslLexer.g4, or the AntlrGlslParser.g4 files.
-
Open the repository's root folder in VS Code
code .
When VS Code opens, it'll suggest you install the recommended extensions. They're all useful, but TypeScript + Webpack Problem Matchers is required, without it, you won't be able to run the extension.
-
Press
F5
, to run the extension.In the Run and Debug tab, you can choose between the desktop and the web version.
By running the run-in-browser script, you can try the web extension in an actual browser.