On this page:
7.1 User interface
7.1.1 Site Management
9.1

7 Camp Computer: the GUI client for Camp🔗

Camp comes with Camp Computer, a simple app that hides all the site scaffolding and removes friction from common operations when you’re ready to write. (The app is not intended to be an IDE for designing and developing the site itself.)

Camp Computer is tested on Mac OS; it should work on other platforms, but there may be bugs.

It must be installed separately with raco pkg install camp-app. On Mac OS, if Camp is installed in user scope, the GUI app will be copied to your user’s "Applications" folder automatically.

7.1 User interface🔗

Page management: You can double click on individual sources in the right-side pane to edit them. (You can select your preferred editor by clicking File menu → Preferences….) You can also right-click a source file to get a context menu with Edit, Preview and Delete options. Previewing will start the project server (if it is not already started) and open your browser to the localhost URL for that page.

The toolbar buttons are pretty straightforward:

  • New page: Prompts you for metadata for the new page. If the current folder’s collection has any taxonomies defined, you can specify those as well.

  • Build site: Same effect as running raco camp build.

  • Start/Stop Preview: Starts/stops the local server for previewing the site. While the server is running, any changed files are rebuilt automatically. A new browser tab is opened to the localhost URL for the server every time the server is started.

  • Publish: Same effect as running raco camp deploy.

7.1.1 Site Management🔗

Camp Computer can manage multiple sites. Click Add site to add an already-created site to the site switcher.

To remove a site from the site switcher, click File menu → Remove this site. This does not affect the site’s files, it only eliminates it as an option within the site selector.