@reuters-graphics/kenobi

0.1.1 • Public • Published


kenobi logo

Kenobi: Always with you

Kenobi is a helper to set up and change our graphics tools and prerequisites.

It's aimed at being a "fresh system setup" tool first, but will stay in the background to help out with future changes when needed.

First steps

  1. Download and Install 1Password from here: https://1password.com/downloads/mac/

  2. Get invited to our 1password team by contacting your editor.

  3. Set your TR email as your primary email on your github account. Then get added to our TR org Github by completing this form here.

  4. Create a personal access token on Github. Follow steps 2 and 3 here.

  5. Go into your 1password account, click on the Kenobi tag on the left, and download all four private files to your Downloads folder:

    • reuters-graphics-secrets.json
    • reuters-graphics-google.json
    • aws-credentials
    • aws-config
  6. Save the init.sh script from here file to your Downloads folder:

    • Click the "Raw" button to open the raw file.
    • Press Cmd + S and save the file to your Downloads folder
  7. Open your terminal and run the init.sh script using this command: bash ~/Downloads/init.sh

  8. The above script will:s

    • Install Homebrew
    • Install node
    • Install n, a node version manager.
    • Set your default node version to 14 (which is what our rig uses)
    • Install yarn
    • Install Kenobi
    • Install bluprint
  9. Now that you're setup with all Kenobi needs, you can run these commands:

    • kenobi setup-creds
    • kenobi setup-rig

Usage

Once you are through the "First steps" above, use the CLI commands as below:

  Description
    Kenobi: Reuters Graphics helper

  Usage
    $ kenobi <command> [options]

  Available Commands
    hello                     Say hello!
    setup-rig                 Setup our main graphics rig.
    update-server-password    Update graphics server password
    install-app               Installs the selected application on your Mac.
    setup-creds               Setup your credentials for accessing the graphics server and AWS bucket.

  For more info, run any command with the `--help` flag
    $ kenobi hello --help
    $ kenobi setup-rig --help

  Options
    -v, --version    Displays current version
    -h, --help       Displays this message

Readme

Keywords

none

Package Sidebar

Install

npm i @reuters-graphics/kenobi

Weekly Downloads

1

Version

0.1.1

License

MIT

Unpacked Size

41 kB

Total Files

11

Last publish

Collaborators

  • pkd2512
  • swhart22
  • mf475
  • allyjlevine
  • hobbes7878