WATT is server-based WebAssembly IDE.
If you want to contribute code, please check the contribution guidelines.
- Install MongoDB
- Tizen SDK for building .wgt packages
- Install Tizen SDK
- Install Tizen SDK Native CLI development packages
- For IDE Tizen SDK installer use Tizen Package Manager GUI and install
Native CLI
fromTizen SDK tools
- For CLI Tizen SDK installer use
package-manager-cli.bin
inTIZEN_SDK_PATH/package-manager
./package-manager-cli.bin install NativeCLI
- For IDE Tizen SDK installer use Tizen Package Manager GUI and install
- Add
tizen
CLI-tool to the system PATH in the terminal where you run WATT
export PATH=$PATH:TIZEN_SDK_PATH/tools/ide/bin/
- Getting the sources:
git clone https://github.com/Samsung/WATT.git
cd WATT
- Start the server:
WATT will run some internal executable files,
for this, WATT needs set paths of executable files on System Environment Variable(PATH).
If you don't start the server with launch, WATT could not provide full functionality.
./launch
To run the test suite, first install the dependencies, then run npm test:
npm install
npm test
- Connect to the web server, the service is provided with port number 3000:
On browser, http://localhost:3000/
- Design Editor is located in libs/tau-wysiwig
- After making DE changes launch WATT with bp option
./launch -bp
- After making changes on already running WATT:
# in WATT directory
cd libs/tau-wysiwig
npm install
npm run-script build-watt
- Always after making any DE changes in WATT console:
b
Install docker-ce (not docker). Follow steps from https://docs.docker.com/install/linux/docker-ce/ubuntu/.
Recommended version is 18.06.1ce3-0~ubuntu. If you are using a newer one give it a try.
WATT along with mongodb images can be built and run by:
./docker-run.sh
Ensure 3000 port to be free. You should see logs on terminal:
watt_container_1 | Listening on port 3000
watt_container_1 | TAUComm started
mongo_container_1 | 2019-03-11T07:18:23.178+0000 I NETWORK [thread1] connection accepted from 172.19.0.3:36916 #1 (1 connection now open)
Open localhost:3000 in Browser.
WATT and mongodb images are composed together by docker-compose.yml. However, if you want to execute any command on particular image type:
docker run -it 5f142ecd12f5 bash
ImageId can be found from:
docker images
Refer WATT License