1. Installing applications
MySQL Server
- Download MySQL Server at: https://dev.mysql.com/downloads/windows/installer/
- Open downloaded file and install MySQL Installer
- Click Add button, then choose packages to install by clicking a package and click right arrow to Products/Features To Be Installed box. Recommended packages: MySQL Server and MySQL Workbench
- Click Next to continue set up
- In step: Account and Roles, enter password for the root account.
- Result:
- Connect to MySQL Server: open MySQL Workbench, click plus icon to add new connection
- Enter connection information: Connection name, host name, port, username and click Store In Vault button to set password was set up in previous steps for root account
- Click OK to connect
IIS Server
Internet Information Services (IIS, formerly Internet Information Server) is an extensible web server created by Microsoft. Please refer this link to install
2. Download Resources
Navigate to https://github.com/baseeam to clone BaseEAM resources
There are four repositories:
baseeam-artifacts: contains artifacts of BaseEAM projects such as: mockups, testing documents, ...
baseeam-web-app: for developers who want to develop BaseEAM application based on their business.
baseeam-build: contains
Three repos have to be cloned to local: baseeam-web-app, baseeam-build, baseeam-background-service
3. Import database
- Exact baseeam-build and open MySQL Wordbench
- Open BaseEAM script file
- Choose baseeam-build\Database\EAM\EAM_****.sql, Then click Run SQL Script to execute
- After executing, all data of application will be stored in eam database
4. Deploy built application to IIS Server
- Open IIS (Internet Information Services): Start > Internet Information Services (IIS) Manager
- Create New Website: Right click and choose Add Website...
- Filling out site information:
-
- Site name: Application name
- Physical path: point to build directory (baseeam-build\Build\Web). In above example, we create a folder: C:\Sites\baseeam and copy all files in baseeam-build\Build\Web folder
- Port: you have to define your application port.
- Click OK to continue
- Configure permission for application
- Edit Web.Config file to point application to BaseEAM database:
- Setting up application folder in IIS Server
- Right BaseEAM folder, then choose Properties
- Go to the Security tab
- Find the IUSR account
(If IUSR is not in the list, add it by clicking Edit, then clicking Add, and then typing "IUSR" in the "Enter the object names to select" field.) - Highlight the user in the list, click Edit, and grant the account Modify and Write permissions
5. Install Services for BaseEAM application
BaseEAM application has two background services have to set up
- BackgroundService: baseeam-build\Build\BackgroundService
- WorkflowService: baseeam-build\Build\WorkflowService
Steps:
- Run CMD (command line of Windows) as an Administrator
- Set up for Background service: in this example, Background Service is located in folder: C:\Sites\BaseEAMServices\BackgroundService. Run the commands below:
cd C:\Sites\BaseEAMServices\BackgroundService
BaseEAM.BackgroundService.exe install
Set up for WorkflowService service: in this example, Background Service is located in folder: C:\Sites\BaseEAMServices\WorkflowService. Run the commands below:
cd C:\Sites\BaseEAMServices\WorkflowService\BaseEAM.WorkflowService.exe
Result:BaseEAM.WorkflowService.exe install
6. Run application
- Navigage to http://localhost:8089 (8089 is port number defined in previous steps)
- The page should be like image below. Using default username: appadmin and password: nx3#Lw3N to log in