Skip to content

Website for the 2021 Southeast Data Librarian Symposium (SEDLS)

License

Notifications You must be signed in to change notification settings

se-datalibrarian/2021

Repository files navigation

Southeast Data Librarian Symposium 2021

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

Development setup

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)

1. Install Gridsome CLI tool if not already installed

npm install --global @gridsome/cli

2. Clone the SEDLS Website Gridsome project

  1. git clone https://github.com/se-datalibrarian/2021.git to clone the SEDLS 2021 Gridsome project
  2. cd 2021 to open the folder
  3. gridsome develop to start a local dev server at http://localhost:8080
  4. Start coding 🎉🙌

3. Learn more about the Gridsome and Tailwind CSS frameworks

  1. Read the Gridsome docs
  2. Read the Tailwind CSS docs

Build local version

Instructions for building a local version of the SEDLS 2021 website on your own machine. This is useful for testing prior to deployment.

1. Run the build script

gridsome build to generate the website in the dist directory in your project folder

2. Test using a local server

  1. cd dist to open the build folder
  2. Start a local server in the folder (see Running a local server with Python)

Deploy to GitHub pages

Instructions for deploying the website to GitHub pages. This project uses the gh-pages package to handle deployment. (see Gridsome Docs)

1. Setup the deployment location

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

2. Run the deployment script

  1. npm run deploy
  2. Navigate to the location of your site online: https://<your-github-username>.github.io

Notes

  • 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 line GTAG_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

About

Website for the 2021 Southeast Data Librarian Symposium (SEDLS)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published