@rpcbase/server 0.7.0 → 0.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cli/start_server.js +3 -0
- package/package.json +1 -1
package/cli/start_server.js
CHANGED
|
@@ -5,6 +5,9 @@ const fs = require("fs")
|
|
|
5
5
|
|
|
6
6
|
const is_production = "yes" === process.env.INFRASTRUCTURE_IS_PRODUCTION
|
|
7
7
|
|
|
8
|
+
// TODO: auto create network if necessary
|
|
9
|
+
// docker network create local-network
|
|
10
|
+
|
|
8
11
|
const start_server = async() => {
|
|
9
12
|
if (is_production) {
|
|
10
13
|
console.log("server will run in production")
|