Skip to content

ProLoser/funcheapmap

Repository files navigation

A map of FunCheapSF events

Data is refreshed every other day by Apify crawler.

Screenshot

Latest version has a button to quickly add events to your calendar of choice Screenshot 2024-08-05 at 1 38 18 PM

Setup

Local Development

  1. Copy the example environment file:

    cp .env.example .env
  2. Add your Apify API token and Google Maps API key to .env:

    APIFY_TOKEN=your_actual_apify_token_here
    GOOGLE_TOKEN=your_actual_google_maps_api_key_here
    
  3. Open index.html in your browser directly, or use a local server:

    python -m http.server 8080
    # or
    npx http-server -p 8080

GitHub Pages Deployment

The site automatically deploys to GitHub Pages when you push to the gh-pages branch.

Required GitHub Secrets:

You need to add your Apify API token and Google Maps API key as GitHub secrets:

  1. Go to your repository on GitHub
  2. Navigate to SettingsSecrets and variablesActions
  3. Click New repository secret
  4. Add the following secrets:
    • Name: APIFY_TOKEN, Value: Your Apify API token
    • Name: GOOGLE_TOKEN, Value: Your Google Maps API key
  5. Click Add secret for each

The GitHub Actions workflow will automatically inject these tokens into the JavaScript files at build time.

About

A map of FunCheapSF events

Resources

Stars

Watchers

Forks

Contributors 4

  •  
  •  
  •  
  •