Social Media Performance Monitoring.
Dashboard app to monitor websites, social media accounts, and API services, associated with selected organizations.
Components:
- Server which serves JSON-LD as Triple Pattern Fragments
- Mobile hybrid app which is also the server's GUI: either Cordova+PatternFly or Ionic (TBD)
TODO: use Hawkular TODO: publish data automatically to public data server (data.go.id or open data server)
- in PostgreSQL, pgAdmin III Create
buzz_buzz_dev
database - In
config
folder (not insrc\main\resources
folder), copyapplication.dev.properties
toapplication.properties
(make it) - If you use proxy, you need to edit
application.properties
and enter your proxy address+username+password, fromhttp.proxyHost
tohttps.proxyPort
delete "#" , enter yourspring.datasource.username
andspring.datasource.password
, delete "#" , - In
config/agent
folder, copy(agentId).AgentSocialConfig.dev.json
to(agentId).AgentSocialConfig.json
(make it) , agent ID : example "arkan" - In
config/agent
folder, copy(agentId).TwitterAuthorization.dev.jsonld
to(agentId).TwitterAuthorization.jsonld
(make it) , agent ID : example "arkan" - click menu
run
chooseedit configuration
in working directory fill with$MODULE_DIR$
, click ok - click reasoner>src>main>java>right click in
HelpdeskApp
choose Run
Username: admin Password: admin
Exposed using Spring Boot Data REST. You can use Postman to access it.
Check out Soluvas_Socmedmon.postman_collection.json
for concrete example requests and responses.
Grab the dependencies
npm -g -V install typings
npm -V install
gulp install
Now you can:
gulp serve
To create a local/dev snapshot:
e:
cd \project_amanah\buzz\snapshot\postgresql
pg_dump -v -Fc -t buzz.watchedsite -t buzz.sitestat -t buzz.sitesummary -f buzz_buzz_dev.socmedmon.postgresql postgres://postgres@localhost/buzz_buzz_dev
To restore snapshot from dev to prd: (Important: won't work in Git Bash, use Command Prompt instead) (you may need to do this a few times due to foreign key integrity)
pg_restore -v -d postgres://buzz_buzz_prd@server/buzz_buzz_prd --data-only buzz_buzz_dev.socmedmon.postgresql
logo / favicon.ico from Vecteezy, license: CC-BY-SA 3.0.