{"id":22090415,"url":"https://github.com/miguejs/altaria","last_synced_at":"2026-05-15T23:10:52.389Z","repository":{"id":92717865,"uuid":"77717561","full_name":"miguejs/altaria","owner":"miguejs","description":"Personal site with  information about me, projects, and maybe posts. (Build with phoenix as API and ember js as client)","archived":false,"fork":false,"pushed_at":"2017-03-20T18:32:56.000Z","size":62,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-06T22:05:15.229Z","etag":null,"topics":["docker","elixir"],"latest_commit_sha":null,"homepage":null,"language":"Elixir","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/miguejs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-12-31T00:29:41.000Z","updated_at":"2017-04-10T22:35:27.000Z","dependencies_parsed_at":null,"dependency_job_id":"b20f0133-63b7-4535-8ed5-8e8d81cfec87","html_url":"https://github.com/miguejs/altaria","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/miguejs/altaria","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/miguejs%2Faltaria","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/miguejs%2Faltaria/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/miguejs%2Faltaria/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/miguejs%2Faltaria/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/miguejs","download_url":"https://codeload.github.com/miguejs/altaria/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/miguejs%2Faltaria/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33082936,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-15T20:25:35.270Z","status":"ssl_error","status_checked_at":"2026-05-15T20:25:34.732Z","response_time":103,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["docker","elixir"],"created_at":"2024-12-01T02:16:22.368Z","updated_at":"2026-05-15T23:10:52.374Z","avatar_url":"https://github.com/miguejs.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Altaria [![Build Status](https://travis-ci.org/miguejs/altaria.svg?branch=master)](https://travis-ci.org/miguejs/altaria)\nPersonal site with  information about me, projects and posts build with phoenix \n# Run Altaria using Docker\n\nThis guide will help you get started to setup the project using Docker, and keep using it as part of your development process.\n\n## Table of contents\n- [Installing Docker](#installing-docker)\n- [Running Altaria](#running-Altaria)\n- [Stop Altaria](#stop-Altaria)\n- [Restoring DB](#restoring-db)\n- [Debugging](#debugging)\n- [Icalia Guides](#icalia-guides)\n\n## Installing Docker\n\nThe first thing you need to do before start is to install `Docker`\n\n[https://www.docker.com/products/docker](https://www.docker.com/products/docker)\n\nIf Docker was successfully installed, you should be good to go.\n\n## Running Altaria\n\nTo run Altaria you can simple execute the following command inside the project directory:\n\n```\n% docker-compose up -d\n```\n\nThat command will lift every service Altaria needs, such as the `rails server`, `postgres`.\n\n\nIt may take a while before you see anything, you can follow the logs of the containers with:\n\n```\n% docker-compose logs\n```\n\nOnce you see an output like this:\n\n```\naltaria_1  | [info] Running App.Endpoint with Cowboy using http://localhost:4000\naltaria_1  | 31 Dec 01:16:59 - info: compiling\naltaria_1  | 31 Dec 01:17:00 - info: compiled 6 files into 2 files, copied 3 in 7.6 sec\naltaria_1  | [info] GET /\naltaria_1  | [debug] Processing by App.PageController.index/2\naltaria_1  |   Parameters: %{}\naltaria_1  |   Pipelines: [:browser]\naltaria_1  | [info] Sent 200 in 276ms\naltaria_1  | [error] backend port not found: :inotifywait\n```\n\nThis means the project is up and running. It is worth mention that the `docker-compose` command will create the database if is not there yet.\n\n## Stop Altaria\n\nIn order to stop Altaria as a whole you can run:\n\n```\n% docker-compose stop\n```\n\nThis will stop every container, but if you need to stop one in particular, you can specify it like:\n\n```\n% docker-compose stop web\n```\n\n`web` is the service name located on the `docker-compose.yml` file, there you can see the services name and stop each of them if you need to.\n\n## Restoring DB\n\nYou probably won't be working with a blank database, so once you are able to run Altaria you can restore the database, to do it, first stop all services:\n\n```\n% docker-compose stop\n```\n\nThen just lift up the `db` service:\n\n```\n% docker-compose up -d db\n```\n\nThe next step is to login to the database container:\n\n```\n% docker exec -ti Altaria_db_1 bash\n```\n\nThis will open up a bash session in to the database container.\n\nUp to this point we just need to download or ask the project leader for a database dump and copy under `Altaria/db/dumps`, this directory is mounted on the container, so you will be able to restore it with:\n\n```\nroot@a3f695b39869:/# bin/restoredb Altaria_dev db/dumps/\u003cdatabaseDump\u003e\n```\n\nIf you want to see how this script works, you can find it under `bin/restoredb`\n\nOnce the script finishes its execution you can just exit the session from the container and lift the other services:\n\n```\n% docker-compose up -d\n```\n\n## Debugging\n\nWe know you love to use `debugger`, and who doesn't, that's why we put together a script to attach the `web` container service into your terminal session. \n\nWhat we mean by this, is that if you add a `debugger` or `binding.pry` on a part of the code, you can run:\n\n```\n% bin/attach web\n```\n\nThis will display the logs from the rails app, as well as give you access to stop the execution on the debugging point as you would expect.\n\n**Take note that if you kill this process you will kill the web service, and you will probably need to lift it up again.**\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmiguejs%2Faltaria","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmiguejs%2Faltaria","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmiguejs%2Faltaria/lists"}