9eeb53b8d0 | ||
---|---|---|
api | ||
model | ||
schema | ||
static/bpmn | ||
workflows | ||
.gitignore | ||
LICENSE.md | ||
Pipfile | ||
Pipfile.lock | ||
README.md | ||
api.yml | ||
run.py |
README.md
CR Connect Workflow Microservice
Development Setup
Tools
These instructions assume you're using these development and tools:
- IDE: PyCharm Professional Edition
- Operating System: Ubuntu
Environment Setup
Make sure all of the following are properly installed on your system:
python3
&pip3
:pipenv
:
Project Initialization
- Clone this repository.
- In PyCharm:
- Go to
File > New Project...
- Click
Pure Python
(NOTFlask
!!) - Click the folder icon in the
Location
field. - Select the directory where you cloned this repository and click
Ok
. - Expand the
Project Interpreter
section. - Select the
New environment using
radio button and choosePipenv
in the dropdown. - Under
Base interpreter
, selectPython 3.6
- In the
Pipenv executable
field, enter/home/your_username_goes_here/.local/bin/pipenv
- Click
Create
- Go to
- PyCharm should automatically install the necessary packages via
pipenv
. To add/remove/manage packages, make sure to only usepipenv install
(or whatever) via the Terminal within PyCharm. Otherwise, you might corrupt your Pipfile.lock file and spend several hours floundering.