A graphical user interface for operating a milling machine.
- Install nodejs from www.nodejs.org/en.
- Download Git for windows from https://git-for-windows.github.io/.
- Open Windows Command Prompt by going to the start menu and searching 'Command Prompt'.
- Run
cd Documents
thengit init
to initialize Git in your 'Documents' folder. - Run
git clone https://github.com/braydenaimar/Milling-Machine-Gui.git
to download the program into your 'Documents' folder. - Run
cd Milling-Machine-Gui
to open the file. - Run
npm install
. - Run
npm start
to launch the app.
This is roughly what command prompt should look like after completing the above steps:
C:\Users\YourName>cd Documents
C:\Users\YourName\Documents>git init
Initialized empty Git repository in C:/Users/YourName/Documents/.git/
C:\Users\YourName\Documents>git clone https://github.com/braydenaimar/Milling-Machine-Gui.git
Cloning into 'Milling-Machine-Gui'...
~some more output~
C:\Users\YourName\Documents>cd Milling-Machine-Gui
C:\Users\YourName\Documents\Milling-Machine-Gui>npm install
~a whack load of output~
~note that it is normal to see some warning and error-like messages here~
C:\Users\YourName\Documents\Milling-Machine-Gui>npm start
Windows Firewall may pop-up with a security alert but you just need to click Allow Access
.
If you are having issues, you may need to add the program to the list of exclusions for Windows Defender.
- Select
Start
andSettings
to open the settings window. - Select
Update & Security
. - Select
Windows Defender
in the sidebar menu on the left. - Under 'Exclusions' select
Add an exclusion
. - Under 'Folders' select
Exclude a folder
. - Navigate to and select to the 'Milling-Machine-Gui' folder that you cloned from GitHub.
- Select
Exclude this folder
. - Under 'Processes' select
Exclude a process
. - Navigate to and open the 'Milling-Machine-Gui' folder.
- Open 'json_server' > 'windows_x64'.
- Select the
serial-port-json-server.exe
file (Note, depending on your computer, this file may show asserial-port-json-server
with a file type of 'Application'). - Select
Exclude this file
.
- Open Windows File Explorer.
- Goto where you installed the program (in your 'Documents' folder if you followed the above instructions).
- Open the 'Milling-Machine-Gui' folder.
- Double click 'autostart.bat' to run the program.
You may want to create a shortcut to your desktop to access it more easily.
- Open Windows Command Prompt by going to the start menu and searching 'Command Prompt'.
- Run
cd Documents/Milling-Machine-Gui
. - Run
autostart.bat
to run the program.