In a large pot, heat the vegetable oil over medium heat. Add the chunks of beef or pork and brown on all sides. Remove the meat and set aside.
In the same pot, add the finely chopped onion and minced garlic. Sauté until the onion is soft and translucent.
Stir in the chopped tomatoes and tomato paste. Cook for about 5 minutes until the tomatoes are soft and the mixture is fragrant.
Return the browned meat to the pot. Add the water or beef broth, thyme, ground allspice, ground black pepper, and salt. Bring to a boil, then reduce the heat and let it simmer for about 1 hour, or until the meat is tender.
Add the chopped squash or pumpkin, sweet potatoes, green beans, and okra to the pot. Stir well to combine. If using, add the whole Scotch bonnet pepper for additional heat (be careful not to burst it if you don't want it too spicy).
Continue to simmer the stew for another 30-45 minutes, or until all the vegetables are tender and the flavors are well combined. Add the chopped spinach during the last 10 minutes of cooking.
Remove the Scotch bonnet pepper before serving. Ladle the pepperpot into bowls and serve hot. It can be enjoyed on its own or with rice or bread.
Enjoy your meal!