What is Scope?
Before accessing an client code bucket in S3 via the Client CLI, each client code bucket needs to have a reference to its location within Amazon S3.
This is called the project ScopeBefore accessing your Client project area, you will need to set the scope within the Client CLI.
Set Scope:
The scope will be the production URL for your project (do not include http or https). Before setting scope to the online URL for your project., it is good practice to ensure you are in your current project directory as scope details will be saved to that folder.
For example:
Code Block | ||||
---|---|---|---|---|
| ||||
blinkmbm cloentclient scope https://example.com/project |
blinkm bmp scope https: //example .com /project |
- This saves this information in a `.blinkmrc.json` file in the CWD, 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:
...
company-project.blinkm.io |
Tip |
---|
This scope will be the same for all of your dev, test, prod environments. You can set which environment to deploy to during the deployment phase. |
Check Current Scope:
You can check your current scope at any time by using the command:
Code Block | ||
---|---|---|
| ||
bm client scope |
Next steps: