Skip to content

Commit 581d8d2

Browse files
author
M Haidar Hanif
committed
Remind to setup database for all environments
1 parent fdaeaae commit 581d8d2

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

README.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ Technologies:
1616
- [Table of Contents](#table-of-contents)
1717
- [Preparation](#preparation)
1818
- [Database Installation](#database-installation)
19+
- [Setup database for all environments](#setup-database-for-all-environments)
1920
- [Installation and Configuration](#installation-and-configuration)
2021
- [Running](#running)
2122
- [Development](#development)
@@ -51,6 +52,25 @@ brew services start mariadb
5152
- [Install MariaDB 10.3 on Ubuntu 18.04 and CentOS 7 - Computingforgeeks](https://computingforgeeks.com/install-mariadb-10-on-ubuntu-18-04-and-centos-7)
5253
- [How To Install MySQL on Ubuntu 18.04 | DigitalOcean](https://www.digitalocean.com/community/tutorials/how-to-install-mysql-on-ubuntu-18-04)
5354

55+
## Setup database for all environments
56+
57+
In local.
58+
59+
```sql
60+
# for development
61+
CREATE DATABASE yourdatabasename
62+
```
63+
64+
In remote server.
65+
66+
```sql
67+
# for test
68+
CREATE DATABASE yourdatabasename_test
69+
70+
# for production
71+
CREATE DATABASE yourdatabasename
72+
```
73+
5474
## Installation and Configuration
5575

5676
Install dependencies.

0 commit comments

Comments
 (0)