When you connect your Github, Gitlab or Bitbucket repository, Hostman does the following:
requirements.txt
for Python or package.json
for Node.JS.When you push a new commit to your Git repository, the same cycle is repeated again: Hostman pulls the code, installs dependencies, builds the application, and so on. This includes launching a new Docker container, which will have no data from the previous container. This way we ensure a clean deployment.
Deploying frontend applications has one important difference from backend applications: after the build we do not create a Docker container, the application is stored in a directory on the server. However, with Hostman you don’t have to configure the server environment because, as with the backend applications, we will do everything for you:
pull the code from the repository,
install dependencies and software,
configure Nginx,
issue an SSL certificate,
build your application.
Hostman will automatically deploy the changes if you leave the autodeploy option enabled.