cuy-cli 1.0.19 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +9 -5
- package/bin/database.js +5 -4
- package/package.json +1 -1
package/README.md
CHANGED
@@ -37,12 +37,16 @@ Cek staging server https://cuyuniverse.co
|
|
37
37
|
|
38
38
|
### HOW TO USE IT
|
39
39
|
|
40
|
+
<p>
|
40
41
|
<code>cuy-cli --version</code> || checking version of cuy-cli
|
41
|
-
|
42
|
+
</p>
|
43
|
+
<p>
|
42
44
|
<code>cuy-cli --help</code> || check all command line available list
|
43
|
-
|
44
|
-
<
|
45
|
-
<
|
45
|
+
</p>
|
46
|
+
<p>
|
47
|
+
<code>cuy-cli ls</code> || <code>cuy-cli lastseen</code> check active users lastseen
|
48
|
+
</p>
|
49
|
+
<p>
|
46
50
|
<code>cuy-cli p</code> || <code>cuy-cli posting</code> create a new posts
|
47
|
-
|
51
|
+
</p>
|
48
52
|
<i>This project is still under development and need some improvements. Please tell me a kind of future.</i>
|
package/bin/database.js
CHANGED
@@ -1,9 +1,10 @@
|
|
1
1
|
var mysql = require('mysql');
|
2
2
|
var conn = mysql.createConnection({
|
3
|
-
host:
|
4
|
-
user:
|
5
|
-
password:
|
6
|
-
database:
|
3
|
+
host: "db-mysql-sgp1-58823-do-user-11984311-0.b.db.ondigitalocean.com",
|
4
|
+
user: "afrizaldea",
|
5
|
+
password: "AVNS_qdHt7fVoeaG09gGo8Iv",
|
6
|
+
database: "cuniverse",
|
7
|
+
port: 25060
|
7
8
|
});
|
8
9
|
conn.connect(function (err) {
|
9
10
|
if (err) throw err;
|