Welcome to Flame, the editor that CodeTorch uses for its code editor. Flame is a simple, yet powerful code editor that is built on top of Monaco Editor. Flame is built in basic HTML, CSS, and JavaScript. Flame is also open source, so you can contribute to the project if you want to.
To install Flame, do the following:
- Clone the repository:
git clone https://github.com/CodeTorchNET/Flame-Code-Editor/tree/main
- cd into the directory:
cd Flame-Code-Editor
- you will need to create a folder inside src called
projects/1
to be able to actaully use the editor - run
docker build -t flame-code-editor .
- then run
docker run -d -p 8080:80 flame-code-editor
- You should be able to access the editor at
http://localhost:8080?1
?1
is the project number, you can change it to any number you want, but you need to create a folder insidesrc/projects
with the same number you put in the URL
- Clone the repository:
git clone https://github.com/CodeTorchNET/Flame-Code-Editor/tree/main
- copy the
src
folder to your project (example to anapache
server or aLAMP
stack) (you need PHP for this to work) - THAT'S IT!!!! Enjoy Flame!