1.6.0 ā€¢ Published 2 years ago

lisa-cli v1.6.0

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

lisa-cli āš”ļø

šŸ’ā€ā™€ļø Lisa CLI is a commanded line tool that will help you to automate the process of creating a new site based on the lisa-app and the lisa-api

The features that is included now is the following:

  • Setup repos on GitHub based on the lisa-app and the lisa-api repos.
  • Setup site with Valet, including dependencies installation and local database creation.
  • Reencrypt all vault files with a new password
  • Create a development database
  • Add all the config needed to be able to deploy the site to Kinsta with Trellis

šŸ”§ Prerequisites

You will need to install the following stuff to use lisa-cli:

šŸŖš Installation

npm i -g lisa-cli

šŸƒā€ā™‚ļø Usage

Set global sites path

Use this command to set your global sites path to prevent you from running other commands from the wrong directory

lisa path

Create a new site

From your generic sites folder (i.e. ~/Sites) run the following command:

lisa init

You will also need to create a YAML file with all the config from Kinsta, run the following command to get a file template:

lisa kinsta --help

Setup an existing site

If you want to setup an already existing Lisa site for local development, you can just run the following command:

lisa clone

Import database from staging/production

Use this command to import a database from the production/staging environment of the site that you're working on. A prompt will ask you whether you will import it from staging or production

lisa db import

This command will ask for the project name and try to find the correct repos that you should use. If not the correct repos are found, the prompt will let you specify them manually.

lisa destroy

This command will ask for the project name, find the directories for both API and app, find the database and the site linked to valet and remove them.

šŸ”Ø TODO

  • Local Trellis development - S3 bucket - Stackpath domain - Sendgrid
  • Stackpath
  • Sendgrid
  • S3
  • GoDaddy
1.2.0

3 years ago

1.1.1

3 years ago

1.1.0

3 years ago

1.6.0

2 years ago

1.5.1

3 years ago

1.5.0

3 years ago

1.4.0

3 years ago

1.3.1

3 years ago

1.1.3

3 years ago

1.3.0

3 years ago

1.1.2

3 years ago

1.0.0

3 years ago