Moving Forward

Database

You may need a database to run your application, so you can create a database, an user and associate these credentials to your domain. This informations will be autocompleted into your .env file.

$ sudo sculptor domain:database example_db
Running domain database example_db: ✔

$ sudo sculptor domain:user example_db example_user
Running database user example.com: ✔

As for the database, the user can be created and associated in the same way; if not provided the password will be autogenerated and stored encrypted, generally you do not need to know password because .env is autocompleted.

$ sudo sculptor domain:setup example.com database example_db
Running database user example.com database=example_db: ✔

$ sudo sculptor domain:setup example.com user example_user
Running domain configure example.com user=example_user: ✔

Customize other parameters

You can customize the domain in two ways, the first is to setup domain properties with the command below. There are several settings you can change, see domain setup for more details.

$ sudo sculptor domain:setup example.com branch other
Running setup domain example.com branch=other: ✔

Customize configuration files

The second method is to customize configuration files in the configs directory, there you can change env, crontab, workers, web server configuration and deploy; see directory structure and domain deploy for more details.

After customization, remember to run configure command to apply modifications to the system.