Commit a6566063 authored by Yusril Rapsanjani's avatar Yusril Rapsanjani

Update README.md

parent bfbf1787
......@@ -334,3 +334,22 @@ def checkRekeningAll():
return jsonify(data)
```
# Database Installation
1. Buat database baru pada MySQL (ex: banking)
2. Klik menu __Import__ pada Phpmyadmin
3. Klik __Browse__ dan pilih __banking.sql__ pada folder __SQL__ lalu tekan tombol __Go__
4. Ubah Database Configuration pada file __module/conn.py__
```python
class Connection:
def get(self):
# Connect to the database
connection = pymysql.connect(host='localhost',
user='root',
password='DBPassword',
db='banking',
charset='utf8mb4',
cursorclass=pymysql.cursors.DictCursor)
return connection
```
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