Giter Club home page Giter Club logo

scarlett-editor's Introduction

alt tag

alt tag

node-version Dependencies styled with prettier

README

What is this repository for?

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.

Which Operative Systems are compatible?

The Scarlett Editor can run in all common Operative Systems including Windows, MacOS and Linux.

Runtime Setup

  • Install NodeJS (8.x is recommended)
  • Open a terminal in the project root folder and execute $ npm install for dependency resolution
  • Link Scarlett Framework
  • In the same folder, execute $ npm start to run the software

Development Setup

  • Install NodeJS (8.x is recommended)
  • Install GruntJS globally by running $ npm install -g grunt-cli in your terminal
  • Install Ruby
  • Install Ruby Sass by running $ gem install sass in your terminal
  • Open a terminal in the project root folder and execute $ npm install for dependency resolution
  • Link Scarlett Framework
  • In the same folder, execute $ npm start to run the software

Link Scarlett Framework

Scarlett Editor depends on the Scarlett Framework. In order to make the editor aware of its location, you need to use symlinks:

  1. $ cd ~/projects/scarlett-framework go into the framework directory
  2. $ npm link create a global link of the framework package
  3. $ cd ~/projects/scarlett-editor go into the editor directory
  4. $ npm link @scarlett-game-studio/scarlett-framework link 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.

Extra Development Setup

  • To activate automatic project build on code change (including styling modifications) simply run $ grunt in the root folder

Recommended Code Editors

  • Webstorm
  • Visual Studio Code
  • Atom

IntelliJ/Webstorm Users

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).

Development Hints

  • 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.

Who do I talk to?

  • Repo owner or admin
  • Other community or team contact

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.