Skip to content

Phoenix application to create your personal website with blogs and resume.

License

Notifications You must be signed in to change notification settings

dreamingechoes/bloggex

Repository files navigation

Bloggex

⚠️ Work in progress ⚠️

Themes

Setup development environment with Docker

This project is Docker friendly from day one. To start working on it:

  • Setup the web container with docker-compose build web.
  • Install dependencies with docker-compose run web mix deps.get.
  • Create your database with docker-compose run web mix ecto.create.
  • Migrate your database with docker-compose run web mix ecto.migrate.
  • Run seeds for default data with docker-compose run web mix run priv/repo/seeds.exs.
  • Install Node.js dependencies with docker-compose run web bash -c "cd assets; npm install".
  • Start the application with docker-compose up

Setup testing environment with Docker

This step assumes you already followed instructions from previous paragraph.

  • Create your testing database with docker-compose run web env MIX_ENV=test mix ecto.create.
  • Migrate your testing database with docker-compose run web env MIX_ENV=test mix ecto.migrate.
  • Run the test suite with docker-compose run web env MIX_ENV=test mix test.
  • Run the test suite with coverage report on cover folder with: docker-compose run web env MIX_ENV=test mix coveralls.html.

This project was developed by dreamingechoes. It adheres to its code of conduct and contributing guidelines, and uses an equivalent license.