Sign inSign up

movonw/proca-backend

By movonw

Updated about 6 years ago

Progressive Campaigning backend

Image
0

575

movonw/proca-backend repository overview

Proca - progressive campaigning widget

Backend to proca-widget.

Made with love and elixir.

Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.

Contributor Covenant

Development setup

  1. Databases
sudo -i
su postgres
createuser -P proca
# input "proca" as password
createdb -O proca proca
createdb -O proca proca_test
exit
exit
  1. Create RabbitMQ
./utils/create-queue
sudo -i
echo "172.19.0.3  rabbitmq.docker" >> /etc/hosts

Login to http://rabbitmq.docker:15672/ with guest/guest and add:

  • virtual host called "proca" (not "/proca")
  • user called proca (pass proca) with full access to virtual host "proca"
  1. Init the db
env mix ecto.migrate
env  mix run priv/repo/seeds.exs
# same for test db
env MIX_ENV=test mix ecto.migrate
env MIX_ENV=test  mix run priv/repo/seeds.exs

Tag summary

Content type

Image

Digest

Size

129.4 MB

Last updated

about 6 years ago

docker pull movonw/proca-backend