Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| documentation:install:mac [2017/03/27 10:58] – Maurits W. Haverkort | documentation:install:mac [2026/04/28 16:25] (current) – Blank Berna Esmer | ||
|---|---|---|---|
| Line 2: | Line 2: | ||
| ### | ### | ||
| - | Quanty is a text based program. In order to run it you need to make a text file that contains the commands you want to execute, then you run the program with as an input the name of the text file. Running such a program goes via the " | + | Quanty is a text based program. In order to run it you need to make a text file that contains the commands you want to execute, then you run the program with as an input the name of the text file. Running such a program goes via the " |
| * ls - list the files in the folder you are in at the moment | * ls - list the files in the folder you are in at the moment | ||
| * cd - changes you to a new folder | * cd - changes you to a new folder | ||
| * pwd - shows you the folder you are in | * pwd - shows you the folder you are in | ||
| - | In order to find a full tutorial on linux you can google "linux bash shell commands" | + | * open -t filename - opens the file with the name filename in a text editor |
| + | In order to find a full tutorial on linux you can google "linux bash shell commands" | ||
| ### | ### | ||
| ### | ### | ||
| - | We now need to place the program Quanty into a folder where you can run it easily from within the terminal. To do so we will create the folder " | + | We now need to place the program Quanty into a folder where you can run it easily from within the terminal. To do so we will create the folder " |
| + | |||
| + | NOTE: macOS Catalina and later uses Zsh as the default shell, not Bash. So if this is the case for you, use .zshrc instead of .bashrc in the given commands. | ||
| ### | ### | ||
| - | ===== Example ===== | + | ### |
| + | The last thing to do is to copy the program into your bin. For this you can use finder. From the terminal you can type (open bin -a Finder) and then drag and drop the program you downloaded into the folder bin. | ||
| + | ### | ||
| ### | ### | ||
| - | description text | + | You now can run the program from the terminal by typing (Quanty [enter]). |
| ### | ### | ||
| - | ==== Input ==== | + | ===== Run Quanty from the terminal ===== |
| - | < | + | |
| - | -- some example code | + | ### |
| - | </ | + | In order to run Quanty from the terminal you type Quanty |
| + | ### | ||
| + | |||
| + | ### | ||
| + | echo ' | ||
| + | ### | ||
| + | |||
| + | ### | ||
| + | and then: | ||
| + | ### | ||
| + | ### | ||
| + | Quanty MyFirstQuantyProgram.Quanty | ||
| + | ### | ||
| + | |||
| + | ### | ||
| + | In order to do more elaborated calculations modify the input file. (open -t MyFirstQuantyProgram.Quanty [enter]) | ||
| + | ### | ||
| + | |||
| + | {{ : | ||
| + | |||
| + | |||
| + | ===== Find the documentation ===== | ||
| + | |||
| + | ### | ||
| + | Once this command works it is time to go to the [[documentation: | ||
| + | ### | ||
| + | |||
| + | |||
| + | ===== Security Warning ===== | ||
| + | |||
| + | ### | ||
| + | {{: | ||
| + | ### | ||
| + | |||
| + | {{ : | ||
| - | ==== Result ==== | ||
| - | <file Quanty_Output> | ||
| - | text produced as output | ||
| - | </ | ||
| ===== Table of contents ===== | ===== Table of contents ===== | ||
| {{indexmenu> | {{indexmenu> | ||