update readme: add one line install and run
This commit is contained in:
parent
6b3e202777
commit
b81b877d40
17
README.md
17
README.md
@ -4,10 +4,15 @@ Script to generate production files (part -> step, dxf, pdf)
|
|||||||
|
|
||||||
|
|
||||||
## Prerequisite:
|
## Prerequisite:
|
||||||
- python
|
- python (to install type python in terminal, it will open the windows store to install it)
|
||||||
- (git)
|
- git (install: `winget install --id Git.Git -e --source winget`)
|
||||||
|
|
||||||
## Install:
|
## Automatic install
|
||||||
|
will dowwnload the git repo, install everything and launch the program.
|
||||||
|
copy paste this line in a windows terminal
|
||||||
|
`curl -o installFrom0.cmd https://git.lurenaud.com/lurenaud/SldwrksExporter/raw/commit/6b3e20277723cf5335e0c1981a5fa198964435bb/installFromZeroScript/installFrom0.cmd; .\installFrom0.cmd`
|
||||||
|
|
||||||
|
## Manual install
|
||||||
1. Get the code:
|
1. Get the code:
|
||||||
|
|
||||||
- `git clone https://git.lurenaud.com/lurenaud/SldwrksExporter.git`
|
- `git clone https://git.lurenaud.com/lurenaud/SldwrksExporter.git`
|
||||||
@ -18,10 +23,10 @@ Script to generate production files (part -> step, dxf, pdf)
|
|||||||
- activate environement `.venv\Script\Activate.ps1`
|
- activate environement `.venv\Script\Activate.ps1`
|
||||||
- install requirements `pip install -r requirements.txt`
|
- install requirements `pip install -r requirements.txt`
|
||||||
|
|
||||||
## Common errors:
|
## Common problems:
|
||||||
- Cannot activate venv, script : in an admin terminal run `Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser`
|
- Cannot activate venv, script : in an admin terminal run `Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser`
|
||||||
|
|
||||||
|
|
||||||
## Use:
|
## Use:
|
||||||
|
In terminal: `.\gui.py path\toFloderOfFiles` will generate step, pdf and dxf in a export folder
|
||||||
`.\run.py path\toFloderOfFiles` will generate step, pdf and dxf in a export folder
|
Double click the gui.py file
|
||||||
|
Loading…
Reference in New Issue
Block a user