create database

This commit is contained in:
George Dimakopoulos 2017-07-28 10:35:27 +03:00
parent f1ec83ec2a
commit 7a5edd7251

View file

@ -1,9 +1,9 @@
## INSTALLATION ## INSTALLATION
- composer clearcache (optional) - `composer clearcache` (optional)
- Clone the current master with: git clone https://github.com/sophimail/webadmin.git - Clone the current master with: `git clone https://github.com/sophimail/webadmin.git`
- cd webadmin - `cd webadmin`
- Install dependencies: composer install - Install dependencies: `composer install`
- chown -R :your-web-server-group-name webadmin - `chown -R :your-web-server-group-name webadmin`
@ -11,8 +11,8 @@
Note: Database for SophiMail Webadmin must use UTF-8 character set. Create a new database with DB name \`a0001\`. Note: Database for SophiMail Webadmin must use UTF-8 character set. Create a new database with DB name \`a0001\`.
- CREATE DATABASE \`a0001\` /*!40100 DEFAULT CHARACTER SET latin1 */; - `CREATE DATABASE \`a0001\` /*!40100 DEFAULT CHARACTER SET latin1 */;`
- mysql a0001 < SQL/mysql.initial.sql - `mysql a0001 < SQL/mysql.initial.sql`
## DSN configuration ## DSN configuration
@ -27,8 +27,8 @@ Additionally, one can add as many datasource as the email servers under administ
Thus, within a single web instance an administrator can manage multiple email server engines on different locations, even on-premise. Remember to enable port 3306 on firewall on remote machines only for the web server IP running the webadmin virtual host. Thus, within a single web instance an administrator can manage multiple email server engines on different locations, even on-premise. Remember to enable port 3306 on firewall on remote machines only for the web server IP running the webadmin virtual host.
## Create Superadmin user ## Create Superadmin user
- cd webadmin - `cd webadmin`
- bin/cake users addSuperuser - `bin/cake users addSuperuser`
## Final steps ## Final steps