To install Harp we need to install Node.js first. If you have Node.js you can skip this step.
Installing Harp as a global Node.js package.
sudo npm install -g harp
Creating our first harp project.
harp init Blog
Running Harp server, by default Harp runs on port 9000.
You can change the port to any port you prefer
harp server -p 3000
If you want to run Harp in production you have to set the Node environment variable into production. Running Harp in production will only re-compile files that have been changed and not the whole Harp application.
Harp web server can run on port
80 or you can reverse proxy it with the help on NGINX web server.
Harp is installed on your system, you can read the documentation for more information over Harp
If you have any questions feel free to leave a comment below.
If you like this content, please consider buying me a coffee.Buy me a coffee
You will get access to contributer exclusive resources and content.