Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 11 Next »

What is Scope?

Before accessing an answerSpace via the BMP CLI, each answerSpace needs to have a reference to its location within the BMP and the file location on your computer.

This is called the project Scope.

This process is only required once unless you moved the directory and you will need to reset the scope again.

At this stage an authorisation token is not required until you attempt to login, this process merely creates the locational reference (Scope).

1. Open your terminal or command prompt window.

2. Change directory to point at your local copy. If this is a new project or you are pulling down from the BMP for the first time you may need to create a directory

Create a new directory first.  (a.k.a. myanswerSpace)

cd myuser/myprojects/myanswerSpace

3. Set the project scope to the online URL for your answerSpace.

blinkm bmp scope https://blinkm.co/myanswerSpace
  • This saves this information in a `.blinkmrc.json` file in the myanswerSpace, so you can version it with your project files if you like
  • you may have to repeat this step later if you work on a new project, or if you chose not to version the `.blinkmrc.json` file

4. You can check the scope at any time by typing:

blinkm bmp scope

This will return the current scope for that directory / project.

Next steps:

  • No labels