Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

glagoly/glagoly

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

384 Commits
384 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Releases

Used by

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.