Python: How to develop: locally or remotely

This documentation is part of the Development platform guide. You can view the complete guide here: Prepare your development platform for a pleasant and efficient experience.

👋 Welcome to the Stackhero documentation!

Stackhero offers a ready-to-use Python cloud solution that provides a host of benefits, including:

  • Deploy your application in seconds with a simple git push.
  • Use your own domain name and benefit from the automatic configuration of HTTPS certificates for enhanced security.
  • Enjoy peace of mind with automatic backups, one-click updates, and straightforward, transparent, and predictable pricing.
  • Get optimal performance and robust security thanks to a private and dedicated VM.

Save time and simplify your life: it only takes 5 minutes to try Stackhero's Python cloud hosting solution!

There are two popular approaches to Python development: setting up a local environment on your computer or utilizing a cloud-based solution like Code-Hero. Each approach has its own pros and cons, so it is important to choose what best fits your needs.

Developing locally allows you to work offline without an internet connection. However, it may require more time to set up, especially if you are new to programming. You will need to manage backups, handle the limitations of your computer's processing power, and ensure data security. Local development also restricts you to a specific device, which may limit your flexibility.

On the other hand, a cloud-based solution like Code-Hero offers a preconfigured environment ready to use, saving you the hassle of setting up your own workspace. This platform provides a user-friendly interface and a suite of built-in tools, making it easy to work on multiple projects. Remote servers often offer better performance and resource availability. Plus, it is accessible from any device with an internet connection.

With pre-configured tools like Docker and Traefik, you can easily set up TLS encryption and use a real domain for your development website, similar to a production environment. This resolves common issues with external webhooks, CORS, and other web-based services, offering a smoother development experience.

Ultimately, the choice between developing locally or using a cloud-based solution depends on your preferences, skills, and project requirements.

To summarize:

  • Local development (on your computer):

    • ✅ Works offline: No internet connection needed
    • ❌ Limited resources: May have less processing power
    • ❌ Setup required: Manual installation and tool configuration
    • ❌ Maintenance: Regular updates and backups must be managed
  • Remote development (on Code-Hero):

    • ✅ Ready-to-use: Tools are pre-installed for immediate development
    • ✅ Enhanced performance: Access to powerful resources
    • ✅ Device flexibility: Access from any computer, tablet, or phone
    • ✅ External integration: HTTPS domain available for webhook interactions
    • ❌ Internet dependency: Requires an internet connection