Build dev version from scripts🔗︎
Use this development (dev) version if there is an issue with the premade binaries or you want to do PineSAM dev.
In the end, this version produces the same PineSAM as the premade binaries from the Easy Install.
Dependencies🔗︎
Mac or Linux dev🔗︎
Setup🔗︎
First, install all packages linked above in dependencies.
then get pinesam
git clone https://github.com/builder555/PineSAM
cd PineSAM
chmod +x setup-dev.sh
chmod +x run-dev.sh
./setup-dev.sh
Run🔗︎
- On a Mac, PineSAM will automatically open http://localhost:8080 will open in your default browser.
- Some Linux distros may need http://localhost:8080 opened manually. Debian12 hints here.
- To run from a phone see
- See Troubleshooting for more help.
Windows dev🔗︎
Setup🔗︎
Follow the additional hints below to install all packages linked above in dependencies.
- Python install notes
- Check "Add python.exe to PATH" and select "Customize Installation"
- Check "Add Python to environment variables" option
- Screenshots of options to select are here.
- Install NodeJS here, accept all prompts to add packages during install including a prompt in the terminal that opens.
- After installing packages listed for backend script (reference), go to System Environment variables to check paths (image).
- Download the Source-all-__.zip from the latest releases.
- Right-click the zip > properties, if it has an Unblock option, then unblock and extract it (example).
- Run powershell as administrator, set permissions to
RemoteSigned
(reference). Setting this one time in powershell is usually enough as it persists on reboot. - Then check that powershell permissions are correct; at minimum, need LocalMachine to show as
RemoteSigned
(Unrestricted also works).
Run🔗︎
Change directory (cd
) into the PineSAM folder that was extracted above.
.\setup-dev.bat # only need to run this one time for each new version
.\run-dev.bat # run this command every time to start PineSAM (do not need to run as admin)
- To run from a phone see
- See Troubleshooting for more help.