Login

Hosting your Card Locally

If you're developing your card locally and need a simple way to run a local server, MAMP is a great, free solution that does just that.

There is a great "First Steps" video of MAMP, which you can find here, otherwise, continue below.

Download MAMP here.


For Windows:

Windows Screenshot

  • After you’ve installed MAMP and you run it for the first time, you will see Preferences, Open start page, and Start Servers, as seen above. For most projects, we won't have to deal with changing preferences or the start page, but you can poke around with those if you'd like.
  • Start the server!
  • The default path for your html files is C:\MAMP\htdocs. Place your index.html and other files in here.
  • Edit your files via your favorite text editor - we think Atom is pretty awesome. Saving in the editor will immediately change the site upon refresh.
  • Using the Holos Card Viewer, point the URL to http://localhost:8888 and the card should load up!

For macOS:

macOS Screenshot

  • After you've installed MAMP and you run it for the first time, you will see Preferences, Open WebStart page, and Start Servers, as seen above. For most projects, we won't have to deal with changing preferences or the WebStart page, but you can poke around with those if you'd like.
  • Start the server!
  • The default path for your html files is /Applications/MAMP/htdocs. Place your index.html and other files in here.
  • Edit your files via your favorite text editor - we think Atom is pretty awesome. Saving in the editor will immediately change the site upon refresh.
  • Using either the Holos Card Tester application or a browser, point the URL to http://localhost:8888 and the card should load up!
Still need help? Get in touch!
Last updated on 19th Jul 2017