File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ PYTHONPATH = ${ PWD } /src
2+ PATH = ${ PWD } /src/bin:${ PATH }
3+ QFIELDCLOUD_URL = https://localhost:8002/api/v1/
4+ QFIELDCLOUD_VERIFY_SSL = 0
Original file line number Diff line number Diff line change 22build
33** /__pycache__
44** /qfieldcloud_sdk.egg-info
5+ .env
Original file line number Diff line number Diff line change @@ -268,15 +268,19 @@ cd qfieldcloud-sdk-python
268268# install dev dependencies
269269python3 -m pip install pipenv
270270pipenv install --dev
271- pipenv shell
272- pipenv install -e . --dev
273271pre-commit install
274272```
275273
276274To run CLI interface for development purposes execute:
277275
278276```
279- python src/bin/qfieldcloud-cli
277+ pipenv run python src/bin/qfieldcloud-cli
278+ ```
279+
280+ To ease the development, you can set a ` .env ` file. Therefore you can use directly the ` qfieldcloud-cli ` executable:
281+ ```
282+ cp .env.example .env
283+ pipenv run qfieldcloud-cli
280284```
281285
282286### Building the package
You can’t perform that action at this time.
0 commit comments