This repo contains the code for the Sacred Tobacco Interactive Map. The map is built with Eleventy, uses Tailwind CSS for styling, and features interactive elements powered by Alpine.js. It's hosted on Netlify and pulls seed location data from Contentful.
It is expected to be an iframe on the Tobacco First website.
Here is the list of technologies used:
- Eleventy
- HTML, CSS, JavaScript
- Tailwind CSS
- Nunjucks
- npm
- Alpine.js
- Netlify
- Contentful
- GitHub
-
Clone the repo.
git clone [email protected]:jayhaase/asemaa.git cd asemaa
-
Install dependencies.
npm install
-
Create your environment variables file.
cp .env.example .env
-
Update the
.env
file with the Contentful space ID and access token. -
Start development server:
npm run start
-
View at http://localhost:8080
- Commit changes to the
main
branch. - Push to the
main
branch on GitHub. - Netlify will automatically build and deploy the changes.
Contentful contains the locations sacred tobacco seeds were shared with others.
Contentful is configured to call a Netlify build hook when new content is published or unpublished.