-
in PostgreSQL, pgAdmin III:
- Create
lumen_lumen_dev
database - Create schema
lumen
- Create
-
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
- Open Command Prompt
cd
to yourgit/lumen-helpdesk
folder- Run
psql
e.g. for local development:psql -hlocalhost -Upostgres lumen_lumen_dev
- Inside
psql
, type:
\copy lumen.district (province_id, province_name, city_id, city_name, id, name, geometry) FROM 'init/kecamatan.all.csv' (FORMAT CSV, HEADER true);
\copy lumen.general_hospital (id, name, kind, location_address, location_lat, location_lon, postal_code, phone0, phone1, phone2, faximile0, faximile1, website, email, city_id, district_id, village_id, lat, lon, geometry) FROM 'init/rumahsakitumum.all.csv' (FORMAT CSV, HEADER true);
Access via http://localhost:8116/
Access via http://localhost:4040/