Skip to main content

Create project

Cli allows you to create a new project.

Checklist before start

  1. You must have a configuration file. If not, run loonar config
  2. You must have installed and configured github CLI

Project init

  1. Run loonar create-project or loonar create-project PROJECT_NAME
  2. Provide answers to the questions

Questions with description

  1. Name - project name, please use lowercase letters with dashes instead of spaces
  2. Database user - Your localhost user
  3. Database password - Your localhost password
  4. Database name - Name of the database where wordpress will be installed. The database will be created automatically
  5. Wordpress account username
  6. Wordpress account e-mail
  7. Choose structure
    • Bedrock (web/app)
    • Default (wp-content)
  8. Technology stack - You have to choose the plugins required for your project. For example: If a project has multiple languages, choose WPML
  9. Loonar release
  10. Repository name - You have to create a new repository on github. Enter only repository name without organisation name. For example: If you create a new repository twoheads-pl/your-project, enter only your-project value