Discover FortressJS - A fast, secure and easy I/O framework

Adrien-fr
2,877 views

Open Source Your Knowledge, Become a Contributor

Technology knowledge has to be shared and made accessible for free. Join the movement.

Create Content

Configuration

Each part of FortressJS could be configured :

  • Engines
  • Apps / plugins
  • Servers
  • Hosts

You can easily enable or disable a component by switching its state to true or false.

Let's do that :

Change the state of the engine and the server
1
2
3
4
5
6
var engineConf =
{
"state": false,
"pos": 0
}
module.exports = engineConf
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

By clicking on "Run", a script will execute the same step as the previous chapter. If you done it correctly, you should see "Well done ! (:"

Open Source Your Knowledge: become a Contributor and help others learn. Create New Content