1. Alexis Colon Lugo
  2. Valentina Database ADK
  3. 月, 4月 08 2019, 02:04 PM
  4.  メールで購読
Hi
How i can config Rest Sqlite server in linux and connect my iPhone with XOJO app.

if any example for it

thanks
コメント
There are no comments made yet.
Sergey Pashkov 承諾済みの回答
Yes, if it is behind the router
コメント
There are no comments made yet.
Alexis Colon Lugo 承諾済みの回答
ok
so i have to do port forwarding for my REST server (Yes/No)

thanks
コメント
There are no comments made yet.
Sergey Pashkov 承諾済みの回答
You can edit /opt/VServer/vserver.ini, find following lines and change Port_REST:
[REST]
; Port to listen REST clients.
; 0 - do not use REST port.
Port_REST=0

Or you can connect to Valentina port and change Port REST property of connection.

In both cases, it is necessary to restart:
sudo service vserver restart
コメント
There are no comments made yet.
Alexis Colon Lugo 承諾済みの回答
ok
cool
where i assigned REST port
コメント
There are no comments made yet.
Sergey Pashkov 承諾済みの回答
Hi Alexis,

The server is installed to /opt/VServer directory.
You can check its logs in the /opt/VServer/vlogs folder.

Do you mean open port in the firewall? The default Valentina port is 15432, REST port needs to be assigned
コメント
There are no comments made yet.
Alexis Colon Lugo 承諾済みの回答
hi
if i have to open any port number
コメント
There are no comments made yet.
Alexis Colon Lugo 承諾済みの回答
hi
who i now this install and working on the PI
after use sudo dpkg -i vserver_armhf_32_9_lin.deb
コメント
There are no comments made yet.
Sergey Pashkov 承諾済みの回答
Install from command line:
wget http://valentina-db.com/download/release/lin_arm_32/vserver_armhf_32_9_lin.deb
sudo dpkg -i vserver_armhf_32_9_lin.deb

If you want to generate reports, it is also necessary to install fonts.
コメント
There are no comments made yet.
Alexis Colon Lugo 承諾済みの回答
ok thanks
If any instruction steps for install valentina server on Raspberry pi 3 B+ with Valentina server REST por test.
コメント
There are no comments made yet.
Sergey Pashkov 承諾済みの回答
Hello Alexis,

In order to enable REST interface on the server, you should assign the value to "Port REST" property of Valentina connection and restart the server.

Here are examples of how to work with SQLite:
~/Paradigma Software/V4RB_9/Examples/REST

I recommend looking at the following:

  • iOS_vSQLite_Fast - open/close connection, execute basic SQL and get results
  • iOS_VReport_vSQLite - open/close connection, generate report, show it
添付ファイル
コメント
There are no comments made yet.
  • ページ :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.

Categories

Announcements & News
  1. 0 subcategories
Valentina Studio
  1. 2 subcategories
Valentina Server
  1. 4 subcategories
Valentina Database ADK
  1. 0 subcategories
Valentina Reports ADK
  1. 0 subcategories
Other Discussions
  1. 0 subcategories
BETA Testing
  1. 0 subcategories
Education & Research
  1. 0 subcategories
Omegabundle
  1. 0 subcategories