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.
- Open the repository directory in VS Code
Ctrl/Cmd+Shift+P
to bring up the Command Palette- Enter
Remote-Containers
to filter the command list - Enter or select
Rebuild and Reopen in Container
to start from scratch - Enter or select
Reopen in Container
to reopen the last devcontainer used
Once inside the devcontainer, you have the manually start the site:
Ctrl/Cmd+Shift+P
to bring up the Command Palette- Enter
Tasks: Run Task
- Enter or select
Jekyll: Build Dev
- Open the app on
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.
- Go to https://cloud.google.com/
- Click
Console
- Click
Cloud Storage
- Click
resources.calitp.org
- Click mobility-marketplace
- Click button for action needed: Upload Files, Delete or Edit on a particular file
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.