tickets
All repositories: gitoria
913 B
#!/bin/sh# start-app.sh <tree> <port> <dir> : runs the app on <dir>/storage with a session made inside <dir>; prints sid to <dir>/sidtree=$1; port=$2; dir=$3sid=$(head -c16 /dev/urandom | od -An -tx1 | tr -d ' \n')h=$(printf %s "$sid" | sha256sum | cut -d' ' -f1)now=$(date +%s)000mkdir -p $dir/sessionsprintf '{"created":%s,"data":{"tag":"j3tag"},"handled":[],"id":"%s","seen":%s,"user":{"id":"0mufikk6hj1u"}}' $now $sid $now > $dir/sessions/$hchmod 600 $dir/sessions/$hecho $sid > $dir/sidcd $treeTICKETS_PORT=$port TICKETS_STORAGE=$dir/storage/mpackdb TICKETS_SESSIONS=$dir/sessions TICKETS_ATTACHMENTS=$dir/storage/attachments \IDENT_URL=http://127.0.0.1:9 IDENT_EXCHANGE_URL=http://127.0.0.1:9 TICKETS_PUBLIC_URL=http://127.0.0.1:$port TICKETS_CREATOR_IDENTITY= TICKETS_WATCH=0 IDENT_API_KEY=pk_j3 IDENT_API_SECRET= \nohup ./bin/hybriel project.hl > $dir/server.log 2>&1 &echo $! > $dir/pid
Branches
Latest commits
- aa4e192cTickets conductor: brief 027 push protocol changemre
- c5d28fb5Tickets conductor: S51 startedmre
- fd6ca1e6Tickets conductor: brief 027 waker design, push-test projectmre
- e448e656Tickets conductor: STATUS #51mre
- 1c10857bTickets conductor: P51 eval, brief 027mre
- e725969dTickets conductor: #51 directionmre
- 1b5c63ddTickets conductor: P51 startedmre
- 9f13fbdaTickets conductor: brief 026 prioritymre
- acc477d9Tickets conductor: brief 026 + Vinzenz recommendationsmre
- 9233a734Tickets conductor: brief 026 completemre
- 5da589fdTickets conductor: brief 026 + Gitoria's answermre
- a3cd5329Tickets conductor: tickets#51 opened, brief 026 draftmre
- 6f6e5797Tickets conductor: STATUS wordingmre
- 957de51fTickets conductor: T36 live, #36 review, #50 donemre
- bc2fde32Merge branch 'main' into t36-stylemre
- b7ca093atests: wait for the new row and normalize editor marker spacesmre
- 41da3525Tickets conductor: flake cause, T36 deploy stepmre
- 64c477e6Tickets conductor: deploy waits for Arachnemre
- 467d7286Tickets conductor: T36 done, deploy questionmre
- fed5ca81ticket_list: remove repeated selected-state coloursmre