Prerequisites
Development Environment
Developers
- Install Git & Git LFS
- Install Node
- Install pnpm
- Use the following command to install
pnpm
vianpx
:npx pnpm add -g pnpm
- Use the following command to install
- Install yeoman
pnpm add -g yo
- Install our Genesis CLI tool
pnpm add -g @mvps-genesis/cli
- Configure your linters
Contributors
Writing Documentation
If you're going to be contributing to Genesis & writing documentation:
- Install Python & Pip
- Setup
- Run the
init:python
pnpm script at the root of the monorepo to create the python virtual environment.
- Run the
- Activation
- Run the following command in your terminal to start your virtual environment
Platform | Shell | Command to activate virtual environment |
---|---|---|
POSIX | bash/zsh | $ source pyenv/bin/activate |
fish | $ source pyenv/bin/activate.fish |
|
csh/tcsh | $ source pyenv/bin/activate.csh |
|
PowerShell Core | $ pyenv/bin/Activate.ps1 |
|
Windows | cmd.exe | C:\> pyenv\Scripts\activate.bat |
PowerShell | PS C:\> pyenv\Scripts\Activate.ps1 |
|
bash | $ source pyenv/Scripts/activate |
Note
You can have your venv automatically be applied to new terminal windows in VSCode by setting your python interpreter.
See https://code.visualstudio.com/docs/python/environments for instructions.
- Installing Packages
- Once you have activated your virtual environment run:
$ pip install -r requirements.txt
- Start or Build Documentation
$ pnpm run start:docs
- Startmkdocs
in "watch" mode.$ pnpm run build:docs
- Buildmkdocs
for production.
Note
Read more about python -m venv
here: https://docs.python.org/3/tutorial/venv.html
SSH Setup
- Optionally, download and install PuttyGen
- Note: This is only needed for publishing features/releases to
genesis.mivareadythemes.com
- Note: This is only needed for publishing features/releases to
Development Experience
- Using the Framework
- Contributing to the Framework
- Coming Soon?
Miva Store
- Miva Merchant > 9.0 CSSUI
- MivaScript Engine v5.33
- Database API: mysql