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

brjs command global install #1

leggetter opened this issue Sep 24, 2013 · 2 comments

brjs command global install #1

leggetter opened this issue Sep 24, 2013 · 2 comments


Copy link

@leggetter leggetter commented Sep 24, 2013

Make brjs a globally installed command, where the apps and sdk live independently of each other.

To achieve this I'm assuming that the CLI commands may also need to be context-aware (#885) e.g. run brjs create-blade from within an application directory to create a Blade for an app

  • - context aware commands - #885 [deprioritised]
  • - change BRJS.initialize so it no longer scans upwards to find the BRJS dir - #95
  • - update the BRJS.initialize() method to take two directories instead of one in preparation for making BladeRunnerJS a global command - see #93
  • - Allow BRJS to be run from outside of the SDK directory by putting brjs on the PATH - #1130
  • - allow apps to live seperately from the sdk - #1154
Copy link

@dchambers dchambers commented Dec 15, 2014

I think the global-install feature is a misnomer, as global-install is actually undesirable while BRJS includes Javascript libraries that an app depends on, and which should either be checked in together with the app, or which should be part of a manifest so that the correct versions can be downloaded on the developer's machine.

Instead, here is my current guess as to the desirable features of this story:

  • It should be possible to install multiple versions of BRJS on a single machine.
  • For convenience, it should be possible to configure the path to point the default BRJS installation on a machine.
  • It should be possible to run BRJS commands relative to app directories.
  • There should be no requirement that all apps reside within a single 'apps' directory.
  • It should be possible to check BRJS in to version control, along with any apps that depend on it.
Copy link

@andy-berry-dev andy-berry-dev commented Jun 2, 2015

Apart from #885 which has been deprioritised, this has been completed and it's now possible to run brjs from the PATH and keep apps seperate from the SDK itself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
4 participants
You can’t perform that action at this time.