Buy Hammer
Download
Features
Take the tour
Templates
Browse gallery
Docs
Read up
News + Updates
All the latest about Hammer

Deploying

Show Menu

When you deploy a Hammer project, be sure to publish only the Build directory to your server - saving you on upload speed and deployment time.

Publishing your entire project / Hosting with Apache

Alternatively, you can publish your entire project to your server, source files and all. This is a very useful approach for sharing projects between teams, and archiving your Hammer projects for later use.

In this case, you’ll need to configure your web server to serve the site from the Build directory. You can do this in your web server’s configuration.

Or, if you’re using the Apache web server, simply add a .htaccess file on your server, in the project’s root folder, to serve files from your Build folder.

RewriteEngine on RewriteCond %{REQUEST_URI} !Build/ RewriteRule (.*) /Build/$1 [L]

This ensures that your compiled, finished files are served.

Have a question, want to beta test new releases or have an issue you're stuck with?

Join our supportive community Slack Team and get in touch with us directly. We love to help!

Free Trial
Buy Hammer
Anvil is a beautiful menubar app that can run your Hammer builds under local .dev URL’s - great if you’re using web services like Typekit. Find out more and download it for free at anvilformac.com