Skip to content

cjlapao/locally-cli

Repository files navigation

Locally

locally is a command line tool design to help spin up a local environment including the infrastructure, the concept is easy, have configuration files created by each team that can be shareable and reproducible from machine to machine and deploy the bare minimum infrastructure.

How to install

locally is not installed, it is just an executable with example/template configuration bundle so you can just download the latest release, unzip it to a folder and put it in the environment path.

Troubleshoot

We have a troubleshoot guide here where we place the most common issues found by people, this will be constantly updated, so please be sure to read it before you ask questions.
If you do not find an answer there you can use the locally channel to ask a question to the team here.

Building locally locally

locally is written in Go and uses VSCODE to easily debug, you still need a few tools if you do not have in case you want to build it from source, or just debug it.

Getting and installing go onto your PC

Download the latest Go from here, choose your operating system and then run. Note: if you are running Mac or Linux this needs to be unziped to a folder.

Once this is done you can quickly test it by typing go version

Visual Studio Code with GO

There is a good setup guide in here this will use the extensions provided by google and allow intellisense in vscode this is the extension

How to build

If you want to test your changes can actually build but not generate the executable follow this:

  1. Go to the src folder
  2. Run go build -v ./...

This will just build the code but with no output, if you want to generate an output you can do this

  1. Go to the src folder
  2. Run go build -o locally.exe

This will be building the locally but will create a locally.exe as the output

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages