This repository contains the Scarlett Editor Module and associated libraries. At the moment this software is in Development Stage and not ready for production use.
The Scarlett Editor can run in all common Operative Systems including Windows, MacOS and Linux.
- Install NodeJS (8.x is recommended)
- Open a terminal in the project root folder and execute
$ npm installfor dependency resolution - Link Scarlett Framework
- In the same folder, execute
$ npm startto run the software
- Install NodeJS (8.x is recommended)
- Install GruntJS globally by running
$ npm install -g grunt-cliin your terminal - Install Ruby
- Install Ruby Sass by running
$ gem install sassin your terminal - Open a terminal in the project root folder and execute
$ npm installfor dependency resolution - Link Scarlett Framework
- In the same folder, execute
$ npm startto run the software
Scarlett Editor depends on the Scarlett Framework. In order to make the editor aware of its location, you need to use symlinks:
$ cd ~/projects/scarlett-frameworkgo into the framework directory$ npm linkcreate a global link of the framework package$ cd ~/projects/scarlett-editorgo into the editor directory$ npm link @scarlett-game-studio/scarlett-frameworklink install the framework
scarlett-editor/node_modules should now have the framework within. Rebuilding the framework with:
$ npm run build:editor or $ npm run build:all and refreshing/restarting the editor should be enough to update the framework version within the editor.
- To activate automatic project build on code change (including styling modifications) simply run
$ gruntin the root folder
- Webstorm
- Visual Studio Code
- Atom
This project uses the latest Ecma6 Javascript features and therefore if you are using an IDE such as IntelliJ or Webstorm it might detect code errors when using the default settings.
To allow Ecma6 syntax make sure to change the Javascript Version in the settings menu (Settings -> Languages & Frameworks -> Javascript).
- All main source code can be found in the /app and /modules folders
- AngularJS 1.6+ is the main framework being used in this project
- The execution container is powered by ElectronJS
- Online Services are not configured in this Development version, you can either configure a personal server using the scarlett-webserver project or use the application in offline-mode.
- Repo owner or admin
- Other community or team contact

