Template for easyScience applications
- Open Terminal
- Change the current working directory to the location where you want the easyTemplateApp directory
- Clone easyTemplateApp repo from GitHub using git
git clone https://github.com/tempScience/easyTemplateApp
- Open Terminal
- Install Poetry (Python dependency manager)
- osx / linux / bashonwindows
curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python
- windows powershell
(Invoke-WebRequest -Uri https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py -UseBasicParsing).Content | python
- osx / linux / bashonwindows
- Go to easyTemplateApp directory
- Create virtual environment for easyTemplate and install its dependences using poetry (configuration file: pyproject.toml)
poetry install --no-dev
- Open Terminal
- Go to easyTemplateApp directory
- Launch easyTemplate application using poetry
poetry run easytemplate
- Open Terminal
- Go to easyTemplateApp directory
- Update easyTemplate using poetry (configuration file: pyproject.toml)
poetry update --no-dev
- ...
- Uninstall Poetry
- osx / linux / bashonwindows
curl -sSL https://raw.githubusercontent.com/sdispater/poetry/master/get-poetry.py | POETRY_UNINSTALL=1 python