π΅ πΊ π· π π§ π΄ π
For resources and updates, see the Mobility Project Database project index.
Welcome to the π΅ Moped codebase! Below is a step-by-step guide to help you get started by setting up the Moped environment.
Before you begin, make sure you have the following installed on your system:
Install Hasura CLI
Install the Hasura CLI by running the following command:
curl -L <https://github.com/hasura/graphql-engine/raw/stable/cli/get.sh> | bash
Ensure it installs version 2.42.0
or later.
Start the Hasura Cluster
Navigate to the moped-database
directory:
cd moped-database
Start the Hasura cluster using Docker:
./hasura-cluster start
If you encounter errors related to migrations, you can try the following:
./hasura_cluster start_only
./run_migrations
./hasura-cluster start
Run the Frontend React App
Navigate to the moped-editor
directory:
cd moped-editor
Install the necessary npm packages:
npm install
Start the frontend development server:
npm start
The application should open in your browser at https://localhost:3000/moped
.
As a work of the City of Austin, this project is in the public domain within the United States.
Additionally, we waive copyright and related rights of the work worldwide through the CC0 1.0 Universal public domain dedication.
Built by Data & Technology Services at Austin Transportation & Public Works