-
Notifications
You must be signed in to change notification settings - Fork 49
Setup to usage
José Vieira Neto edited this page Jul 13, 2019
·
5 revisions
For scaffold to work you need to have a configuration file in your project in the src/main/resources directory, you can create this file manually or use the command spring setup:scaffold. After executing this command two files will be created.
- scaffold.info
- application.properties
The scaffold.info has important information for our generator, such as the root package, database name, and so on.
See the list below for configuration.
package: "your root package"
database: "your database"
dataBaseName: "name of your database"
user-database:
password-database:
if you use the spring setup:scaffold without entering any parameters this is the default file generated.
package:com.example
dataBaseName:mydb
username:root
password:root