After installing install
, in a bash console, call the new command in the root folder of your web server :
A simple project
Ubiquity new projectName
A project with UbiquityMyAdmin interface
Ubiquity new projectName -a
A project with bootstrap and semantic-ui themes installed
Ubiquity new projectName -themes=bootstrap,semantic
short name | name | role | default | Allowed values |
---|---|---|---|---|
|
dbName | Sets the database name. | ||
|
serverName | Defines the db server address. | 127.0.0.1 | |
|
port | Defines the db server port. |
|
|
|
user | Defines the db server user. |
|
|
|
password | Defines the db server password. |
|
|
|
themes | Install themes. | semantic,bootstrap,foundation | |
|
all-models | Creates all models from db. |
|
|
|
admin | Adds UbiquityMyAdmin interface. |
|
Example of creation of the blog project, connected to the blogDb database, with generation of all models
Ubiquity new blog -b=blogDb -m=true
Example of creation of the blog project, connected to the bogDb database, with generation of all models and integration of semantic theme
Ubiquity new blog --dbName=blogDb --all-models=true --themes=semantic
To start the embedded web server and test your pages, run from the application root folder:
Ubiquity serve
The web server is started at 127.0.0.1:8090