Now that the update site has been developed, tested and automatically built, the final stage is to upload the contents of the update site (under com.packtpub.e4.update/target/repository
) and make it available on a website or FTP server so that others can install it. If Python 2.7+ is installed, run a simple web server as follows.
Change to the directory
com.packtpub.e4.update/target/repository
.Run the Python
SimpleHTTPServer
module (for Python 2) or thehttp.server
module (for Python 3):python -m SimpleHTTPServer 8080 Serving HTTP on 0.0.0.0 port 8080 ... python3 -m http.server 8080 Serving HTTP on 0.0.0.0 port 8080 ...
Verify the update site by adding
http://localhost:8080/
as a remote update site in Eclipse.
If you don't have Python installed, then some operating systems have a means to serve web-based content already, or another web server can be used. macOS has web sharing where files in ~/Sites
are served from, Linux systems typically have Apache...