jerryscript-project / iotjs

Platform for Internet of Things with JavaScript http://www.iotjs.net

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

how should i use it?

martinwithyou opened this issue · comments

thanks

Could you please be a bit more specific about your issue? Have you taken a look at the documentation? Was there something not clear? Do you have a use case that's not described well enough? Did you have problems building the project? On what host system, for what platform, using which tool chain? Could you not run it? Could you not write your own JS app or module for or run them on it?

I think it's a perfectly valid question.

I have 7 years of experience as a Tizen developer, but am having trouble figuring out where to start from.

I would recommend to start with something simple, e.g. a write a "hello world" apllication. Then you can continue with using modules to do something (e.g. read / process a file, create output), then write modules to help you.

Is there a comprehensive guide for running this framework on each of the supported devices?

I think that might help.

On a fresh Ubuntu 16.04, I followed the following steps:
sudo nano /etc/apt/sources.list
sudo apt-get update
sudo apt-get install gbs
reboot
git clone https://github.com/Samsung/iotjs.git
cd iotjs/
./config/tizen/gbsbuild.sh

Result
info: Creating (native) source archive iotjs-1.0.0.tar.gz from '7c03f9fe307caa4761299cef149ec651eb6de9d0'
error: Git command failed: Can't describe HEAD. Git error: fatal: Not a valid object name HEAD
error: Failed to export packaging files from git tree
info: retrieving repo metadata...
info: parsing package data...
info: building repo metadata ...
info: resolving skipped packages ...
info: package dependency resolving ...
warning: no available packages to build.
info: *** Build Status Summary ***
=== Total succeeded built packages: (0) ===
info: generated html format report:
/home/jiwon/GBS-ROOT/local/repos/tizen_unified_m1/armv7l/index.html
info: generated RPM packages can be found from local repo:
/home/jiwon/GBS-ROOT/local/repos/tizen_unified_m1/armv7l/RPMS
info: generated source RPM packages can be found from local repo:
/home/jiwon/GBS-ROOT/local/repos/tizen_unified_m1/armv7l/SRPMS
info: build logs can be found in:
/home/jiwon/GBS-ROOT/local/repos/tizen_unified_m1/armv7l/logs
info: build roots located in:
/home/jiwon/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.*
error: some packages failed to be built
GBS Build failed!

What might I be missing?

Thanks.

@jiwonpark please check the in source documentation which is up to date. https://github.com/Samsung/iotjs/tree/master/docs

Yes this is the guide I followed and build failed..

By any chance, do I have to cook up my own .gbs.conf?

No you don't. It should work out of the box. Unfortunately I am not familiar with Tizen, so I cannot help much. @rtakacs @hs0225 could you take a look on this?

P.S.: The CI uses docker, so you can also use the existing docker image if you want a quick workaround.
docker pull iotjs/ubuntu:0.8

The build issue seems to be specific to my PC.

@LaszloLango Thanks for the help!

Closed because of no more response from the issue owner.