How to test public accounts and public accounts locally
This section describes how to build a secondary development and testing environment with no technical knowledge. The purpose is to provide an idea for convenient development.
Public Account development requires port 80 to implement web servers that can be accessed through the network. To solve this problem, we recommend that you use BAE or SAE to build websites. However, there are some problems with website construction. The most important thing is that debugging is inconvenient. Each modification requires re-upload of the Rack package, which seriously affects the development efficiency.
Since only one URL and port 80 are required, why not point to the Local web server through website creation?
In fact, there are a lot of tools such as nat123 and peanut shells.
Use the website creation tool to create a web Service locally (in fact, you can add a server through eclipse ). There are many tutorials on how to build a website and direct it to a local service !!!
Of course, this method still has some problems:
1. The access speed is very slow, and the request timeout problem often occurs. I usually solve the problem through several more requests :).
2. These tools still require money. Wealthy people with more than 3500 Vietnamese security (in fact, one RMB) personal assets can use them.
Note: Actually, I also know that BAE and so on have the online code editing function, but it is not as simple as building a website.