Update gettingStarted.md after grammarly

parent 7f2cb07a
......@@ -5,7 +5,7 @@ The following City Portal sample demonstrates accounting of citizens request on
You will learn how you can create an application using the UnityBase platform.
By constructing a web site for a fictional city portal on the instruction of this tutorial,
By constructing a website for a fictional city portal on the instruction of this tutorial,
you will be able to create, read, update and delete (CRUD) different objects.
Let’s start the practice.
......@@ -35,7 +35,7 @@ These are a few screens we are going to create:
## Prerequisites
1. Install UnityBase and configure the environment by follow [UnityBase setup instruction](https://git-pub.intecracy.com/unitybase/ubjs)
1. Install UnityBase and configure the environment by following [UnityBase setup instruction](https://git-pub.intecracy.com/unitybase/ubjs)
2. Create the directory `D:\ubProject\CityPortal\`
......@@ -45,10 +45,10 @@ where the:
[+ For working with the console we recommend to install [ConEmu](https://conemu.github.io/ru/) and [Far Manager](http://www.farmanager.com/download.php) +]
3. Initialize your project with Node Package Manager in root of the project `D:\ubProject\CityPortal\`.
3. Initialize your project with Node Package Manager in a root of the project `D:\ubProject\CityPortal\`.
```>npm init```
This utility will walk you through creating a package.json file. You may press Enter of all instruction or input your data.
It only covers the most common items, and tries to guess sensible defaults.
It only covers the most common items and tries to guess sensible defaults.
4. install a package `@unitybase/adminui-pub` and save it as a dependency in the package.json file. This package contains UB models for your project.
```
......@@ -69,21 +69,20 @@ It only covers the most common items, and tries to guess sensible defaults.
UnityBase applications are built on the principle of Model-driven
engineering (MDE) - a software development methodology which focuses on creating
and exploiting domain models which are conceptual models of all the topics related to a specific problem.
In most of enterprise systems the large-scale areas of responsibility are used.
engineering (MDE) - a software development methodology which focuses on creating and exploiting domain models which are conceptual models of all the topics related to a specific problem.
In most of enterprise systems, the large-scale areas of responsibility are used.
In UnityBase this level of abstraction is called models.
All models should consist of entities.
Our model will consist of three entities: Departments, SubDepartment and RequestList.
Our model will consist of three entities: Departments, SubDepartment, and RequestList.
Let's create them.
[+ (!) Every entity has a mandatory section called Mixin. Don’t forget to add it, you may leave it empty though. +]
Follow this link to get more details about entity schema:
https://unitybase.info/models/UB/docson/index.html#../schemas/entity.schema.json
* The Departmens Entity
* The Departmenеs Entity
Create a file `D:\ubProject\CityPortal\models\requests\req_depart.meta`, with the following code:
......@@ -383,7 +382,7 @@ If values of the following properties: "serverType", "protocol", "host", "port"
<a name ='db'></a>
## Create the Database
The entity’s data is stored in database tables. So at this stage you’ll create the database structure. In order to successfully complete this task, you need to execute the following commands.
The entity’s data is stored in database tables. So at this stage, you’ll create the database structure. In order to successfully complete this task, you need to execute the following commands.
First, you should go to the current project root
......@@ -467,26 +466,26 @@ For running UnityBase server in developer mode use the key - dev(with SHIFT + En
Now we can start working with Front-End AdminUI.
AdminUI is a Rich Internet application, designed to create a desktop-like user interface. It allows to create intranet Web application with auto generation/declarative description of UI. All UI elements are based on Domain model and often automatically generated. Thus it’s enough to define entity on the server side.
AdminUI is a Rich Internet application, designed to create a desktop-like user interface. It allows creating intranet Web application with auto generation/declarative description of UI. All UI elements are based on Domain model and often automatically generated. Thus it’s enough to define entity on the server side.
Since we’ve previously configured our adminUI endpoint to http://localhost:888/adm , just follow this link.
While the initDB command is executed, the user with admin/admin as a login/password pair is created by default. You can change your password using profile menu in upper right corner of AdminUI. So at the beginning you login under admin/admin.
While the initDB command is executed, the user with admin/admin as a login/password pair is created by default. You can change your password using profile menu in upper right corner of AdminUI. So at the beginning, you log in under admin/admin.
Usually enterprise application have many menu items (shortcuts). We recommend to group our entities into the desktops. Each desktop has its own stack of commands. We’ll configure the desktop CityPortal and add a shortcuts to display the students’ environment and course data so we can use CRUD operations on them.
Usually, enterprise application has many menu items (shortcuts). We recommend grouping our entities into the desktops. Each desktop has its own stack of commands. We’ll configure the desktop CityPortal and add shortcuts to display the students’ environment and course data so we can use CRUD operations on them.
<a name ='desktop'></a>
## New Desktop
Let’s create a new “CityPortal” desktop for our system.
[+ (!) You must had logged under admin account +]
[+ (!) You must have logged under admin account +]
* Go to UI menu and select Desktops menu
* Click on Add (Ctrl+ins)
* Fill mandatories fields
* Do checked By default? checkbox a CityPortal desktop will be default.
* Fill mandatory fields
* Check By default? checkbox a CityPortal desktop will be the default.
![cityReq_desktop](img/gettingStarted/cityReq_desktop.png)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment