Server setup step by step

User avatar
pzygmunt
Posts: 4353
Joined: Tue Jan 19, 2016 9:26 am
Location: Paczków
Contact:

Sat Dec 10, 2016 8:08 am

Give me 2hours and then I will contact you
TMSer
Posts: 30
Joined: Tue Dec 06, 2016 7:57 am

Sat Dec 10, 2016 8:11 am

Just connect with credentials i sent you when you can.

My laptop will be on.
TMSer
Posts: 30
Joined: Tue Dec 06, 2016 7:57 am

Sun Dec 11, 2016 6:34 am

Ok my rpi image and hosted server works great now. Thx man for the help. If you want i can upload the RPI image for you. I did not change anything yet. It the same as the one on the download site but it works.
astonix
Posts: 22
Joined: Wed Aug 03, 2016 5:45 am

Wed Feb 22, 2017 9:35 am

TMSer wrote:
Sun Dec 11, 2016 6:34 am
Ok my rpi image and hosted server works great now. Thx man for the help. If you want i can upload the RPI image for you. I did not change anything yet. It the same as the one on the download site but it works.
Hello there!

I just curious how reliable is your self-hosted Supla Cloud for connecting to all of your device?
Have you been implemented on real project?
I also have self-hosted Supla Cloud for connecting to my own device, but still under testing with my team.

Rgds,
Aston
TMSer
Posts: 30
Joined: Tue Dec 06, 2016 7:57 am

Fri Feb 24, 2017 7:32 am

I have one on scaleway now. Much better. I would not reccomend the RPI since you have to setup a lot of DDNS stuff for it to work outside of your wifi network. There is also the port forwarding on the router. Use a cloud service. 5$ a month on scaleway and supla has been working perfectly from day one.
astonix
Posts: 22
Joined: Wed Aug 03, 2016 5:45 am

Mon Feb 27, 2017 12:32 pm

TMSer wrote:
Fri Feb 24, 2017 7:32 am
I have one on scaleway now. Much better. I would not reccomend the RPI since you have to setup a lot of DDNS stuff for it to work outside of your wifi network. There is also the port forwarding on the router. Use a cloud service. 5$ a month on scaleway and supla has been working perfectly from day one.
Look great. I use ESP8266-based device to connect to SUPLA cloud.
Now, we are tryin to connect the device to self-hosted SUPLA Cloud in a VPS.
I don't know sometimes the cloud-app got error when user login.
My team is still investigate it.
bouali
Posts: 24
Joined: Tue Mar 07, 2017 12:17 pm

Tue Mar 07, 2017 12:21 pm

might be this tutorial helps some of us :
How To Deploy a Symfony Application to Production on Ubuntu 14.04.
(https://www.digitalocean.com/community/ ... untu-14-04)
Onlyzen
Posts: 3
Joined: Mon Jul 24, 2017 12:46 pm

Sat Nov 04, 2017 7:11 am

In order to run supla cloud, you need to have php 7.x and mysql database.Download the release archive and extract it to a desired directory on your server.Adjust the configuration by editing the app/config/parameters.yml file.

Application is written with Symfony and Doctrine on backend. Frontend uses jQuery and Vue.js.You need to have composer and NodeJS installed.
composer install

run the following command to drop, create the database and populate it with sample data.

php bin/console supla:dev:dropAndLoadFixtures -e dev
The user created by the fixtures is user@supla.org and the password is pass.

composer run-script webpack
The above command also generates a config file app/config/config_dev.yml required to run the application.

Enable application support of webpack dev server in your app/config/parameters.yml:

use_webpack_dev_server: true
And then run

cd src/Frontend && npm run dev
Post Reply