SkillAgentSearch skills...

Glagoly

online decision-making platform

Install / Use

/learn @glagoly/Glagoly
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

glagoly - online voting platform

Local run

Start the app (localhost:8001/app/index.html):

./rebar3 shell
c(view_index).

Build front js

npm i
npm run js

Unit tests

./rebar3 eunit
./rebar3 eunit --module="filter_tests"

Codestyle

./rebar3 fmt -w

Update on prod

sudo su # Important
cd /var/www/glagoly/

Start:

rebar3 release
_build/default/rel/prod/bin/prod daemon

Attach:

_build/default/rel/prod/bin/prod remote
# CTRL-D - detach from console

# gracefully shut down
init:stop().

Update:

git pull
rebar3 compile
_build/default/rel/prod/bin/prod restart
View on GitHub
GitHub Stars14
CategoryDevelopment
Updated2y ago
Forks3

Languages

Erlang

Security Score

65/100

Audited on Jun 13, 2023

No findings