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
- composer clearcache (optional)
- Clone the current master with: git clone https://github.com/sophimail/webadmin.git
- cd webadmin
- Install dependencies: composer install
- chown -R :your-web-server-group-name webadmin
- `composer clearcache` (optional)
- Clone the current master with: `git clone https://github.com/sophimail/webadmin.git`
- `cd webadmin`
- Install dependencies: `composer install`
- `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\`.
- CREATE DATABASE \`a0001\` /*!40100 DEFAULT CHARACTER SET latin1 */;
- mysql a0001 < SQL/mysql.initial.sql
- `CREATE DATABASE \`a0001\` /*!40100 DEFAULT CHARACTER SET latin1 */;`
- `mysql a0001 < SQL/mysql.initial.sql`
## 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.
## Create Superadmin user
- cd webadmin
- bin/cake users addSuperuser
- `cd webadmin`
- `bin/cake users addSuperuser`
## Final steps