Skip to content

Latest commit

 

History

History
77 lines (54 loc) · 3.18 KB

createproject.rst

File metadata and controls

77 lines (54 loc) · 3.18 KB

Project creation

After installing install, in a bash console, call the new command in the root folder of your web server :

Samples

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

Installer arguments

short name name role default Allowed values

b

dbName Sets the database name.

s

serverName Defines the db server address. 127.0.0.1

p

port Defines the db server port.

3306

u

user Defines the db server user.

root

w

password Defines the db server password.

''

h

themes Install themes. semantic,bootstrap,foundation

m

all-models Creates all models from db.

false

a

admin Adds UbiquityMyAdmin interface.

false

Arguments usage

short names

Example of creation of the blog project, connected to the blogDb database, with generation of all models

Ubiquity new blog -b=blogDb -m=true 

long names

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 

Testing

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