Hostman #12144
slorber
started this conversation in
Deployment Platforms
Hostman
#12144
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Note: I didn't write this platform guide. It was initially contributed to our website, and I extracted it here as part of our Deployment docs cleanup (#12139)
Deploying to Hostman
Hostman allows you to host static websites for free. Hostman automates everything, you just need to connect your repository and follow these easy steps:
Create a service.
Select the project to deploy.
If you are logged in to Hostman with your GitHub, GitLab, or Bitbucket account, you will see the repository with your projects, including the private ones.
Choose the project you want to deploy. It must contain the directory with the project's files (e.g.
website).To access a different repository, click Connect another repository.
If you didn't use your Git account credentials to log in, you'll be able to access the necessary account now, and then select the project.
Configure the build settings.
Next, the Website customization window will appear. Choose the Static website option from the list of frameworks.
The Directory with app points at the directory that will contain the project's files after the build. If you selected the repository with the contents of the website (or
my_website) directory during Step 2, you can leave it empty.The standard build command for Docusaurus is:
You can modify the build command if needed. You can enter multiple commands separated by
&&.Deploy.
Click Deploy to start the build process.
Once it starts, you will enter the deployment log. If there are any issues with the code, you will get warning or error messages in the log specifying the cause of the problem. Usually, the log contains all the debugging data you'll need.
When the deployment is complete, you will receive an email notification and also see a log entry. All done! Your project is up and ready.
Beta Was this translation helpful? Give feedback.
All reactions