Skip to content

Latest commit

 

History

History
87 lines (71 loc) · 2.97 KB

README.md

File metadata and controls

87 lines (71 loc) · 2.97 KB

easyTemplateApp

Template for easyScience applications

CI Build

Release

Downloads Lines of code Total lines Files

License License Scan

Download easyTemplate

  • 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
    

Install easyTemplate dependencies

  • 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
      
  • Go to easyTemplateApp directory
  • Create virtual environment for easyTemplate and install its dependences using poetry (configuration file: pyproject.toml)
    poetry install --no-dev
    

Launch easyTemplate application

  • Open Terminal
  • Go to easyTemplateApp directory
  • Launch easyTemplate application using poetry
    poetry run easytemplate
    

Update easyTemplate dependencies

  • Open Terminal
  • Go to easyTemplateApp directory
  • Update easyTemplate using poetry (configuration file: pyproject.toml)
    poetry update --no-dev
    

Delete easyTemplate

  • ...
  • Uninstall Poetry
    • osx / linux / bashonwindows
    curl -sSL https://raw.githubusercontent.com/sdispater/poetry/master/get-poetry.py | POETRY_UNINSTALL=1 python