A one-stop resource for modern, equitable and accessible public transit products and services.
Deployed via Netlify
You can run the usual git clone
command to check out this project, but notice that this repo contains Git submodules. To ensure you have all the files in those submodules, you can pass --recuse-submodules
when cloning:
git clone --recurse-submodules https://github.com/cal-itp/mobility-marketplace.git
or if you've already cloned the project, you can run:
git submodule update --init
This is a Jekyll static site. We include a Devcontainer configuration to help with local testing and development.
Ctrl/Cmd+Shift+P
to bring up the Command PaletteRemote-Containers
to filter the command listRebuild and Reopen in Container
to start from scratchReopen in Container
to reopen the last devcontainer usedOnce inside the devcontainer, you have the manually start the site:
Ctrl/Cmd+Shift+P
to bring up the Command PaletteTasks: Run Task
Jekyll: Build Dev
http://127.0.0.1:4000/
*Auto rebuild/reload will be active and will watch the site files for changes.
* Try using cmd and clicking on the server address from the Terminal
The automated process to fetch providers from the data warehouse consists of two parts. The first part is downloading the data as a CSV file from the warehouse. The second part is preparing the data with some Python.
# Download the data
bash .github/resources/download_csv.sh
# (Optional) Don't pollute your global Python install
virtualenv .github/resources/venv
source .github/resources/venv/bin/activate
# Install Python dependencies
pip install -r .github/resources/requirements.txt
# Run the Python script with all the preparing logic
python .github/resources/process_providers.py
This site uses Google Cloud to manage static files, like the PDFs on the How To pages.
Requirements: User must be authorized on Google Cloud to access the resources-calitp-org bucket.
Console
Cloud Storage
resources.calitp.org
Content (including graphics, images, video, documents, and text) in this repository is licensed under CC-BY 4.0.
The source code in this repository used to format and display the content is licensed under GPL-3.0.