controltower
v0.15.8
Published
a customer control center web app
Downloads
54
Maintainers
Readme
controltower
a generic control center web app aka "web admin", "dashboard", "panel"…
Bootstrap theme
This branch uses the gentelella Bootstrap theme by Colorlib.
Contributing
If you plan to contribute with code patches, below are some instructions on how to setup a dev environment in your machine.
Dependencies install
Controltower is a javascript software and use npm as package manager, you will need to have node.js installed. To get the dependencies use:
npm install
Controltower backend
Controltower expect some services to be up and use them as the backend, so you will have to:
- configure a facebook app for the customer authentication / login to work, write down your App Id to use on your config.js file
- configure and launch a controltower-api server to be used as the backend
- if you plan to use sage features, configure and launch a sage server to be used as the sage api backend
Generate the config.js file
There is a small shell script that can generate simple controltower config files by replacing the placeholders on the config-sample.js file with their respective env vars of your machine, if you want to use it you can run:
npm run create:config
to create, or:
npm run create:config -- replace
to replace.
Launch the webserver
npm start
And access it on http://localhost:9966