Skip to content

A community-led museum for items taken through colonialism and the process of their restitution. First Rapa Nui, then the rest ✊🏽

Notifications You must be signed in to change notification settings

radical-data/museum-of-stolen-artifacts

Repository files navigation

Museum of Stolen Artifacts

A community-led museum for items taken through colonialism and the process of their restitution. First Rapa Nui, then the rest ✊🏽

Install

  1. Clone the repository: git clone https://github.com/radical-data/museum-of-stolen-artifacts.git
  2. Navigate to the project folder: cd museum-of-stolen-artifacts.
  3. Install dependencies: npm install.
  4. Set up a Supabase (local) project with the official CLI.
  5. Set the environment variables.
    1. Copy the .env.example file to .env (manually or with cp .env.example .env).
    2. Get your SUPABASE_URL and SUPABASE_ANON_KEY from the output of supabase start.
  6. Run the DB migrations locally with supabase db reset.
  7. Fetch the data from Supabase: npm run fetch-data.

Develop

To develop Museum of Stolen Artifacts locally:

  1. Start a development server: npm run dev.
  2. Museum of Stolen Artifacts will be running locally at http://localhost:5173/.

Build

To create a production version of Museum of Stolen Artifacts:

  1. Build it: npm run build.
  2. (Optional) You can preview the production build with npm run preview.

Deploy to Production

To use Supabase as a remote backend make sure to link your local development with your remote Supabase project:

  1. Make sure you have a Supabase acount and connect it to the supabase cli: supabase login
  2. Link a specific remote project supabase link --project-ref <project-ref> (more info)
  3. Run migrations on remote DB supabase db push (more info)
  4. Make sure that the env vars SUPABASE_URL and SUPABASE_ANON_KEY do point to the correct production project and not the local containers. You can grab them from inside your Supabase project's dashboard.

About

A community-led museum for items taken through colonialism and the process of their restitution. First Rapa Nui, then the rest ✊🏽

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published