Developer Information
This section describes the steps to build a development environment for cmdbox.
How to install the project
To install the project, follow these steps:
Clone project:
git clone https://github.com/hamacom2004jp/cmdbox.git
Go to the project directory:
cd cmdbox
Create a virtual environment for your project:
python -m venv .venv . .venv/bin/activate
Install project dependencies:
python.exe -m pip install --upgrade pip pip install -r requirements.txt
Build the project:
sphinx-apidoc -F -o docs_src/resources cmdbox sphinx-build -b html docs_src docs python -m collectlicense --out cmdbox/licenses --clear python setup.py sdist python setup.py bdist_wheel
How to commit a module
If you are willing to cooperate in the development, please follow these guidelines:
Create a new branch:
git checkout -b feature/your-feature
Make your changes and commit!:
git commit -m "Add your changes"
Push to the branch you created:
git push origin feature/your-feature
Create a pull request.
Reference: Procedure for building a Windows environment for Redis
cmdbox uses Redis.
Download the installer from GitHub .
Run the downloaded installer (MSI file).
The wizard will ask you to set the installation directory, so please make a note of the path you set. The default is C:\Program Files\Redis .
In the wizard, there is a setting for the service port of the Redis server, so please make a note of the port you set. The default is 6379.
There is a setting in the wizard for the maximum amount of memory to be used, so set it as needed. For development use, about 100 mb is sufficient.
After installation is complete, open the installation directory in Explorer.
Open the redis.windows-service.conf and redis.windows-service.conf files in it with a text editor such as Notepad.
In this file, search for requirepass foobared, remove the # and uncomment it out.
Change the foobared part of requirepass foobared to your desired password. Make a note of the changed password.
This password will be the password specified in the cmdbox command.
Open the Windows Task Manager, open the Services tab, right-click Redis, and restart the service.