Site for Elixir monthly meetups in Moscow
429
You will need:
Or:
We do use a bunch of integrations, so if you want to replicate the whole project you will need:
AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEYMAILGUN_API_KEYTIMEPAD_KEYRECAPTCHA_PRIVATE_KEY and RECAPTCHA_PUBLIC_KEYTo run app in docker container:
docker-compose builddocker-compose run web mix test to test the installationdocker-compose run web mix ecto.setup && mix ecto.migratedcoker-compose upNow you can visit localhost:4000 from your browser.
To clean up:
docker rm -v $(docker ps -a -q -f status=exited)
docker rmi $(docker images -f "dangling=true" -q)
Add these lines to /ets/hosts:
# docker
127.0.0.1 docker.local
127.0.0.1 db
And now, run:
mix deps.get && mix compilemix test to ensure that everything is finemix ecto.setup && mix ecto.migrate to setup the databaseyarn install (you may need to install yarn)mix phoenix.server. Now you can visit localhost:4000 from your browser.Run:
mix command.create.admin username:$YOUR_NAME password:$YOUR_PASS password_confirmation:$YOUR_PASS
We use hackcss as a css-framework. We use yarn as a default package manager for frontend. And brunch as an assets-builder.
This project uses several linters to lint 'all the things!!!':
credo to lint elixir codeeslint to lint javascript codesass-lint to lint scss stylesContent type
Image
Digest
Size
372.5 MB
Last updated
almost 10 years ago
docker pull sobolevn/elixir_lang_moscow