HPI Schul-Cloud API Requirements
Research of Caldav Modules for Node
PostgreSQL/bin/* folder must be accessable through shell/cmd (check environment variables) for this install guide to work. Check functionality with psql --version
for example.
postgres
user password during installnode
, without password: createuser -U postgres --superuser --login node
schulcloud_calendar
: createdb -U postgres schulcloud_calendar
psql -d schulcloud_calendar -U postgres
(Prompt will change to schulcloud_calendar=#
)all
permissions for the db: grant all privileges on database schulcloud_calendar TO node;
(Feedback should be: GRANT
)CREATE EXTENSION "uuid-ossp";
Feedback should be: CREATE EXTENSION
npm install
npm start
for production environment
npm run start_local
for local unix environment
npm run start_local_win
for local windows environmentAlternative install instructions here: Kalender Setup
If you get fe_sendauth: no password supplied
errors on commands, edit your [installdir]\data\pg_hba.conf
and set METHOD
to trust
in all lines.
psql -U node -d schulcloud_calendar -a -f schema.sql
psql -U node -d schulcloud_calendar -a -f example_data.sql
schulcloud_calendar_test
and setup as described abovepsql -U node -d schulcloud_calendar_test -a -f schema.sql
npm test