You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So here is the migration tool for you to transfer the old DB data to the new DB.
41
-
This tool is also used for official service.
42
-
43
-
Browsers Requirement
44
-
---
17
+
# Browsers Requirement
45
18
46
19
- Chrome >= 47, Chrome for Android >= 47
47
20
- Safari >= 9, iOS Safari >= 8.4
@@ -50,15 +23,17 @@ Browsers Requirement
50
23
- Opera >= 34, Opera Mini not supported
51
24
- Android Browser >= 4.4
52
25
53
-
Prerequisite
54
-
---
26
+
# Installation
27
+
28
+
## Getting started (Native install)
29
+
30
+
### Prerequisite
55
31
56
32
- Node.js 6.x or up (test up to 7.5.0)
57
33
- Database (PostgreSQL, MySQL, MariaDB, SQLite, MSSQL) use charset `utf8`
58
34
- npm (and its dependencies, especially [uWebSockets](https://github.com/uWebSockets/uWebSockets#nodejs-developers), [node-gyp](https://github.com/nodejs/node-gyp#installation))
59
35
60
-
Get started
61
-
---
36
+
### Instructions
62
37
63
38
1. Download a release and unzip or clone into a directory
64
39
2. Enter the directory and type `bin/setup`, which will install npm dependencies and create configs. The setup script is written in Bash, you would need bash as a prerequisite.
@@ -67,8 +42,22 @@ Get started
67
42
5. Build front-end bundle by `npm run build` (use `npm run dev` if you are in development)
68
43
6. Run the server as you like (node, forever, pm2)
69
44
70
-
Upgrade guide
71
-
---
45
+
## Heroku Deployment
46
+
47
+
You can quickly setup a sample heroku hackmd application by clicking the button below.
| s3 |`{ "accessKeyId": "YOUR_S3_ACCESS_KEY_ID", "secretAccessKey": "YOUR_S3_ACCESS_KEY", "region": "YOUR_S3_REGION" }`| When `imageUploadType` be setted to `s3`, you would also need to setup this key, check our [S3 Image Upload Guide](docs/guides/s3-image-upload.md)|
200
182
| s3bucket |`YOUR_S3_BUCKET_NAME`| bucket name when `imageUploadType` is set to `s3`|
201
183
202
-
Third-party integration api key settings
203
-
---
184
+
## Third-party integration api key settings
204
185
205
186
| service | settings location | description |
206
187
| ------- | --------- | ----------- |
207
188
| facebook, twitter, github, gitlab, dropbox, google, ldap | environment variables or `config.json`| for signin |
208
189
| imgur | environment variables or `config.json`| for image upload |
209
190
| google drive(`google/apiKey`, `google/clientID`), dropbox(`dropbox/appKey`) |`config.json`| for export and import |
0 commit comments