This repository was archived by the owner on Sep 23, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Home
M ABD AZIZ ALFIAN edited this page Jan 9, 2020
·
21 revisions
Sorry, this documentation is still on progress to write.
Welcome to the cluster-static-server wiki!
- Clone or Download this repo.
- Extract it.
- Go to the extracted directory.
- Run
$ npm install. - Done
- To start master server
$ npm run master. - To start node server
$ npm run node.
Note :
- You are able to start master and node server in same machine server with different port. But, actualy Master and Node server should be on different machine server so you will get the best performance.
This cluster-static-server project was design for flexible to use or to fork. Also I want to keep this project always minimalis, so there is bit limitations in this project :
-
No Database
This cluster-static-server project is only static server, so there is no any database required. -
No Authentication
I did not implement any authentication in this project because I want you to be more flexible to choose any kind of authentication method for your business application. Actualy for simple authentication by header is already implemented in this project. Just improve it or create it by yourself. -
No Update File
Naturaly a static server will serve "as it" file to your browser with long cache expiring time. So update file feature could be useless for static server. But you can create your own application to manage your file with this cluster-static-server API.