Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to use apps/transport/lib/transport/gtfs_diff.ex? #7

Open
dancesWithCycles opened this issue Jun 6, 2024 · 0 comments
Open

How to use apps/transport/lib/transport/gtfs_diff.ex? #7

dancesWithCycles opened this issue Jun 6, 2024 · 0 comments

Comments

@dancesWithCycles
Copy link

Hi folks,
Thank you so much for providing and maintaining this repository.

I randomly stumbled over this readme file that leaded me to this source file.

It is the first time I come across Elixir. Do you mind providing an instruction set that describes how to use the GTFS Diff tool from scratch imagining a clear Linux operating system environment?

Example:

  • prepare Elixir
cd
apt install curl git
git clone https://github.com/asdf-vm/asdf.git ~/.asdf --branch v0.14.0

or

git clone https://aur.archlinux.org/asdf-vm.git && cd asdf-vm && makepkg -si

Add the following to ~/.bashrc:

. "$HOME/.asdf/asdf.sh"

Completions must be configured by adding the following to your .bashrc:

. "$HOME/.asdf/completions/asdf.bash"
  • install plugins
asdf plugin-add erlang (https://github.com/asdf-vm/asdf-erlang)
asdf plugin-add elixir
  • get repo
cd
git clone [email protected]:etalab/transport-site.git
cd transport-site
  • run Elixir tool
mix cmd --app  apps/transport/lib/transport/gtfs_diff.ex

This issue is linked to this issue.

Cheers!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant