This is the documentation of Configuration.
Before you start running the file, please remember to setup the environment, see the guide here.
-
Use npm scripts(for JavaScript only).
-
Use Batch or Shell Script file.
You can run npm run
command line to auto configure.
Before you start using this, please remember change the dirctory from your terminal to src/js/
.
After that, you can use the npm script.
Script List:
$ npm run all
- Install the dependencies, deploys the Application Command and starts the bot.
$ npm run install
- Install the dependencies.
$ npm run deploy
- Deploys the Application Command.
$ npm run start
- Starts the bot.
See at the next part of this document.
This part introduces about configuring Script/Batch file.
These files can use on ALL Languages Examples.
You can run configure.cmd to configure this repo.
You can run build.sh to configure this bot.
Before you start using this file, please remember to enter this:
$ chmod a + x ./configuration/configure
If you have any problem, use $ ~/your/path/to/HBYC/configure && ./build.sh -h
.
If the help list can't help you, please contact me.