Installation Guide¶
- Create an environment with Python
3.9
or higher, usingpyenv
orconda
.- For
pyenv
, use the following commands:brew install pyenv pyenv install 3.9 pyenv local 3.9
- To set up your PATH automatically every time you open a shell session, add this to your .zshrc file:
eval "$(pyenv init -)"
- For
-
Clone the repository.
git clone git@github.com:ServiceNow/sygra.git
-
Install poetry using the official guidelines.
pip install poetry
- Run the following command to install all core dependencies.
make setup
- (Optional) In your IDE, set your python interpreter to the poetry virtual environment.
Run
poetry run which python
to see the python interpreter path that you should add in your IDE.
Optional¶
SyGra UI Setup¶
To run SyGra UI, Use the following command:
make setup-ui
SyGra All features Setup¶
To utilize both SyGra Core and UI features, Use the following command:
make setup-all
SyGra Development Setup¶
To set up your development environment, Use the following command:
make setup-dev