MacOS
If you notice any mistakes that need to be corrected, please reach out on Discord!
Last updated
If you notice any mistakes that need to be corrected, please reach out on Discord!
Last updated
Petio supports two ways of connecting to a Mongo Database instance, locally or remote. We recommend the locally hosted MongoDB option.
Macs with the new M1 chip (arm64 arch) do not yet support Mongo locally installed. Please use either Remote MongoDB Hosting or any of the options.
Add the Official MongoDB Repo to homebrew:
Install MongoDB:
Start MongoDB as a service:
Please review the and make changes as necessary for your situation.
Register for Atlas .
Create a free cluster.
Change the provider or region if you need to. It may take some time to create the cluster.
After the cluster is made, click on connect and select MongoDB Compass and follow the instructions on screen.
First make a directory for Petio:
Download the latest version of Petio:
Extract Petio to the directory we just made:
Change the permissions so that Petio can work as expected:
To have Petio running in the background without user input, we will use launchctl.
To more-or-less control launchd
define a service for Petio like shown below and save it as tv.petio.plist
in the ~/Library/LaunchAgents/
folder.
Load the service using:
Start the service using:
Verify that Petio is indeed running:
To stop Petio, run:
Stop the Petio service with launchctl
.
Extract the contents of freshly downloaded archive while overwriting the current contents of the current directory with:
Lastly, start the Petio service back up again with launchctl
.
Move on to the next section to start .
Once you've completed theses steps, you can navigate to http://<hostname>:7777
to start .
Navigate to the directory you have Petio installed in, then, download the latest version from the with: