Website for the 2021 Southeast Data Librarian Symposium (SEDLS). The SEDLS is intended to provide a low-cost opportunity for librarians and other research data specialists to gather and explore developments in the field of data librarianship, including the management and sharing of research data.
This is a static site built with Gridsome and Tailwind CSS
Instructions for setting up a development environment to edit the SEDLS 2021 website on your own machine. You must have Node.js installed to develop and build this content (Node version 14 is recommended to ensure environment works out of the box)
npm install --global @gridsome/cli
git clone https://github.com/se-datalibrarian/2021.git
to clone the SEDLS 2021 Gridsome projectcd 2021
to open the foldergridsome develop
to start a local dev server athttp://localhost:8080
- Start coding 🎉🙌
- Read the Gridsome docs
- Read the Tailwind CSS docs
Instructions for building a local version of the SEDLS 2021 website on your own machine. This is useful for testing prior to deployment.
gridsome build
to generate the website in the dist
directory in your project folder
cd dist
to open the build folder- Start a local server in the folder (see Running a local server with Python)
Instructions for deploying the website to GitHub pages. This project uses the gh-pages
package to handle deployment. (see Gridsome Docs)
Note: this is already setup if deploying to https://se-datalibrarian.github.io/
Edit the gridsome.config.js
file to match your site URL and path:
siteUrl: 'https://<your-github-username>.github.io',
pathPrefix: '/<your-gridsome-repo-name>',
Note: if you are deploying to your GitHub user page remove the pathPrefix
line
npm run deploy
- Navigate to the location of your site online:
https://<your-github-username>.github.io
- This project uses Fontsource to self-host fonts
- This project uses the Gridsome Plugin gridsome-plugin-gtag to enable Google Analytics. To track this page you need to include a
.env
located in the root of this project folder that contains a reference to your Google Analytics ID (include the lineGTAG_ID=[YOUR_GOOGLE_TAG_ID]
in the.env
file) - Tailwind setup does not purge unused CSS due to issues with versioning (see Tailwind information on compatibility build)... can't figure that out