Coder Social home page Coder Social logo

nickolashu / thera Goto Github PK

View Code? Open in Web Editor NEW

This project forked from alibaba/thera

0.0 2.0 0.0 17.71 MB

Thera is an integrated development environment(IDE) powered by Alibaba.com aimed for improving mobile hybrid solution develop experience, such as weex, luaview, react native.

Home Page: https://github.com/alibaba/Thera

License: Other

Shell 0.12% CoffeeScript 47.43% CSS 0.73% Python 0.45% C 23.68% Objective-C 0.14% C++ 16.58% JavaScript 10.82% Batchfile 0.04% HTML 0.01%

thera's Introduction

Welcome to Thera 中文版

Thera is a develop tool aiming to improve the developing experience of hybrid mobile app, which use weex, luaview, react native solition. It is built on top of Atom.   Thera is founded by Alibaba, and managed by the open source community.
We embrace open sources, hoping you join us.
You can follow us on Twitter, fire a bug on github issues, vote for new features, and make pull requests.

Use Thera to develop hybrid apps

You can use Weex, React Native to develop hybrid apps, We choose Weex to introduce its features.

  • Project Navigator (on the left): After created a project, you can navigate files in the navigation bar. Generally there are scripts, project description(.thera), test files and resources.
  • Editor (in the middle): Thera supports both hintcontent assistgrammar and fast findkey location
  • Property Panel (on the right): Inspector dynamic view properties information on editing.
  • Console (at the bottom): You can check console.log in logcat and thera status in status

Besides,

  • Performance : Use FPSmemoryload time inspector to locate performance issue.
  • Team work : Integrate with test tools and cloud service,automatically testdata mockcode management etc.

Alt text


Quick-start guide

This guide introduces how to create a new project and run it on simulator or device.

STEP 1 - create a new project:

follow the video below.

Little red ridning hood

  • After install Thera, click start a new Thera project for Weex to create a Weex project
  • Set the project name,Thera will create a main.we file as the entrance of the project.
  • Set the project location where the project is located.

Note: the project location should be able to access, otherwise creating will fail. You can check recent created projects in the project navigator, and remove them in folder.

Several files will be created automatically after crating project, Thera recommend you using main.we as the project entrance file, using mock.json to mock local data, and build directory to save weex transforming result. You can modify the settings in the Thera project configuration file -- .thera/launch.json . Some files are used by Thera and cloud service, you can ignore them.

STEP 2 - Edit:

Please follow the video Little red ridning hood

  • Context-dependent code completion
  • Code highlight of Weex & Vue
  • Realtime hint when editing Weex based on linter

Note: Use .we file extension or specify weex file format to enable features above.

STEP 3 - Run:

Please follow the video Little red ridning hood

  • Thera will detect local simulators. After click run button, Thera will start corresponding simulator and install oreo preview app for you to check result on real time.
  • Thera will start a local delegate server (named Dumpling) in order to make connection between Thera and preview app. Dumpling use local port 7001 by default, you can change it in Thera configuration.
  • When multiple device connected to Thera, you can choose one device(simulator or real device) at a time to check variables, properties, performance.

Note: please make sure you have installed simulators. We recommend you check simulators on XCode/Genymotion first, and restart Thera if simulators cannot be recognized. Because starting Simulator at first time may fail.


Installing

macOS

Download the latest Thera release

Windows & Linux

The new skyscraper is still under construction.

Building

Building from source is still under construction, you can check out thera packages

Restrictions

  • Vue 2.0 is not supported for now.

PMC Members & Committers

  • Dean Wu(xiaoshu.wb at tmall.com)
  • Deng Xu(dennis.dx at tmall.com)
  • GUO Miaoyou(miaoyou.gmy at tmall.com)
  • LIN Xueqiu(xueqiu.lxq at tmall.com)
  • HU Chun(shiji.hc at tmall.com)

License

MIT

thera's People

Contributors

nickolashu avatar dengxu avatar 778477 avatar kekemao1 avatar alibaba-oss avatar dutlxq2014 avatar

Watchers

James Cloos avatar  avatar

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.