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

Pass variables #148

Closed
wants to merge 10 commits into from
Closed

Pass variables #148

wants to merge 10 commits into from

Conversation

springmeyer
Copy link

Currently to install node-osrm from binaries you run: npm install.

To install from source you type make. And to run the tests after a source build: make test.

However when doing development against custom branches of OSRM_BACKEND there were a variety of easy pitfalls.

This branch makes it easier, and documented, how you should:

  • Build against a custom OSRM branch, tag, or gitsha using mason + an automated source build of osrm-backend (done via the ./bootstrap.sh script)
  • Build against a local osrm-backend clone that you've been doing development in

Both these methods are documented in the readme in this pull.

- all settings now come from `osrm-settings.env` to avoid duplication/inconsistency
- to gain correct environment without rebuilding, now source `osrm-settings.env`
- to avoid stale builds, bootstrap.sh always rebuilds `osrm-backend` now

Recommended build from source method is still:

    make && make test

However if you want to customize the osrm-backend version then see the README for
details of what variables you can pass to bootstrap.sh
@springmeyer
Copy link
Author

Experimentation here is wrapped up, now closing this and working over at #160

@springmeyer springmeyer closed this Mar 1, 2016
@springmeyer springmeyer deleted the pass-variables branch March 1, 2016 02:19
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

Successfully merging this pull request may close these issues.

None yet

1 participant