Before you get started
Get to know the files in our example site, which has example items of several different types–photos, document scans, videos–so you don’t have to start from scratch.
- Sample site as site visitors see it: https://digitalarcplatform.github.io/demo
- The files that make the samplesite run: https://github.com/DigitalArcPlatform/demo
Create a Github Account
Before you create your account, it helps to understand how Github usernames will be seen by your website visitors.
Your Github username will be included in the website address people will use for to find your community, so choose it carefully.
- Example Github username: newcitycommunityarchive
- Example community-archive website address: newcitycommunityarchive.github.io
The “free” option will mean people can see, but not edit, the files that run your web site.
Ready? *Create a new Github.com account by following the directions here**
Create a project inside your new account
GitHub uses “repository” to describe the place where all of the files for a single project are stored.
You’re going to copy a repository that we’ve already made, so that you have example files to work from rather than having to create files from scratch.
- Visit
https://github.com/DigitalArcPlatform/template - Press the “Use this template” button
- Choose “Create a new repository”
- Name your repository
yourusername.github.io(where yourusername is the username you chose when you created your Github account). In our example, where the username isnewcitycommunityarchive, you would name your repositorynewcitycommunityarchive.github.io. Your github username must be exactly the same as the first part of your repository name, and “.github.io” must appear after your repository name. - Set the new repository to be Public. This doesn’t mean everyone who sees your files can edit them. It means that people can see both the pretty version of your website and the files that Github uses to build the pretty web site, but only you or the people you give your log-in to can make changes.
Research your configuration choices
Your new “repository” or “place where all your files are stored” _config.yml file contains settings for exhibit info, font, and color choices that affect the entire web site.
The next few sections of documentation will cover each one of these things one by one, but reading through this first before you start trying to make changes will help you get your bearings.
**If you get lost look for the Code button toward the **
# Get to know your _config.yml file
One file in your newly copied web sit controls a lot of the information on the site: _config.yml. You can generate one at https://digitalarcplatform.kalanicraig.com/MakeConfigFile/
- Gather information about your community, that includes
- What you want to call the site
- Who the main contact person will be
- How do you want your site to look?
- Put these pieces of community info into our “Configuration File Generator” at https://digitalarcplatform.kalanicraig.com/MakeConfigFile/
Apply your configuration choices
Once you’ve downloaded your config file:
- Find the “Code” navigation tab in your new Github repository.
- Find the
_config.ymlfrom the list of files in your repository. All of the main settings for your site are in this file. - Look for the pencil icon on the right-hand side of the page. Press it to enter “edit” mode.
- Select all of the contents of the _config.yml file in the Github editor.
- Open the config file you generated on our web site (You can use Word or Google docs or Notepad).
- Select all of the contents of the file and use the “Copy” command (CTRL-C on Windows or ⌘-C on Mac) to put that text into your clipboard.
- Switch back to the _config.yml file in Github.
- Replace the contents of the config file from our template repository with the contents of the downloaded config file by using the “Paste” command (CTRL-V on Windows or ⌘-V on Mac)
- Scroll down and look for the green “commit” button. Press it to save your configuration file.
- Press the green “Commit” button on the pop-up screen.