{"id":18863901,"url":"https://github.com/jwarwick/info_parse_phoenix","last_synced_at":"2026-02-11T04:30:18.706Z","repository":{"id":20398841,"uuid":"23674788","full_name":"jwarwick/info_parse_phoenix","owner":"jwarwick","description":"Directory display code","archived":false,"fork":false,"pushed_at":"2015-09-17T20:01:41.000Z","size":256,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-12-30T21:26:27.402Z","etag":null,"topics":[],"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/jwarwick.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}},"created_at":"2014-09-04T18:43:03.000Z","updated_at":"2014-09-04T18:43:25.000Z","dependencies_parsed_at":"2022-07-25T07:47:02.871Z","dependency_job_id":null,"html_url":"https://github.com/jwarwick/info_parse_phoenix","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jwarwick%2Finfo_parse_phoenix","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jwarwick%2Finfo_parse_phoenix/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jwarwick%2Finfo_parse_phoenix/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jwarwick%2Finfo_parse_phoenix/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jwarwick","download_url":"https://codeload.github.com/jwarwick/info_parse_phoenix/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239808523,"owners_count":19700451,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":[],"created_at":"2024-11-08T04:39:02.236Z","updated_at":"2026-02-11T04:30:18.646Z","avatar_url":"https://github.com/jwarwick.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"# InfoParse (Phoenix version)\n\nElixir project built with Phoenix and Ecto. Used to display information captured with `info_gather`.\n\nRequires Erlang R17 and Elixir v1.0.4 (commit e02d7bf)\n\nTo create a backup of a heroku postgres database:\n`heroku pg:backups --app \u003cappname\u003e` to list backups\n`heroku pg:backups delete \u003cid\u003e --app \u003cappname\u003e` to delete an existing backup\n`heroku pg:backups capture` to capture the current database\n\nTo download the capture:\n`curl -o latest.dump \\`heroku pg:backups public-url\\``\n\nTo import the capture into postgres:\n`pg_restore --verbose --clean --no-acl --no-owner -d infogather latest.dump`\n\n## Databases\nThis project uses two databases `infogather` and `infoparse`. `infogather` holds the raw data dumped from Heroku. It\nis not modified. The mix task `db.import` parses the data in the `infogather` database and creates the approriate\nrecords in the `infoparse` database. It is not smart about removing old data, so the `infoparse` database should be\ndropped first.\n\nUse ecto migrations to create the appropriate databases and tables:\n```\n   mix ecto.create InfoGather.Repo\n   pg_restore --verbose --clean --no-acl --no-owner -d infogather latest.dump\n   mix ecto.drop InfoParse.Repo\n   mix ecto.create InfoParse.Repo\n   mix ecto.migrate InfoParse.Repo\n   mix db.import\n```\n\nThere is a mix alias `import` which will do all of the `InfoParse` steps:\n```\n  mix import\n```\n\nTo view directory:\n```\n   mix phoenix.start\n   (also aliased to `mix server`)\n```\n\n## Dump Email List\n\nTo dump a list of parent names and email address, use these commands from `psql`:\n```\n   psql info_parse\n   \\copy (select firstname, lastname, email from parent where email \u003c\u003e '') to '/tmp/emails.csv' with csv\n\n   sort emails.csv | uniq | awk -F\",\" '{ print $1 \" \" $2 \",\" $3}' \u003e clean_emails.csv\n```\nThen edit in your favorite editor to fix invalid names and addresses...\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjwarwick%2Finfo_parse_phoenix","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjwarwick%2Finfo_parse_phoenix","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjwarwick%2Finfo_parse_phoenix/lists"}