Skip to content

Commit

Permalink
Add default config
Browse files Browse the repository at this point in the history
  • Loading branch information
ALiangLiang committed May 19, 2017
1 parent ba08b1a commit b326c39
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,8 @@
node_modules
npm-debug*.log

# this project
config/*
!config/default-0.json5
# pm2
ecosystem.config.js

# system
tmux-*
21 changes: 21 additions & 0 deletions config/default.json5
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
// Recommend you copy this file into "local-0.json5". And replace the configs.
{
ssl: { // ssl option. If you don't need https, remove this property.
key: "", // key absolute path
cert: "",
ca: ""
},
c9Path: "/home/c9sdk", // The absolute path of c9sdk.
nodePath: "node", // The absolute path of node. Or you can directed use "node".
account: "account", // Account of basic authentication.
password: "password", // Password of basic authentication.
port: 8080, // Server post.
ports: [ 8081, 8082 ], // Free posts, Be sure these ports are public.
autoFindPort: true, // (Useless now) Auto find a random free public port.
c9Host: 'c9.foobar.com', // The host of cloud9 instances.
projects: [{
name: 'project1', // Used to display.
path: '/home/project1' // The absolute path of the project workspace.
}],
limitTime: 5000 // Used to limit time of launching c9 process.
}

0 comments on commit b326c39

Please sign in to comment.