What is Major?
Major is a platform that let's you easily deploy and manage access to applications you build locally. Major is designed for engineers building internal tools to quickly:
- Provision hosted compute for their apps
- Manage access to those apps
- Connect apps securely, with RBAC, to internal resources (db's, api's, etc.)
Major CLI
major is Major on the command line. It brings authentication, app creation, and app deployment directly to your own development environment so that you can create internal apps with ease.
Installation
major is available via Homebrew:
brew tap major-technology/tap
brew install major-technology/tap/major
Build from source
Prerequisites:
- Clone the repository:
git clone https://github.com/major-technology/cli.git
cd cli
- Build the CLI:
go build -o major
- Move the binary to your PATH:
mv major /usr/local/bin/
Getting Started
Authentication
To authenticate with Major:
major user login
This will open your browser to complete the authentication flow. Once authenticated, your credentials are securely stored in your system keychain.
Check authentication status
To verify you're logged in and see your user information:
major user whoami
Logout
To revoke your CLI token and logout:
major user logout
Creating and Working on Applications
License
MIT