This was supposed to be the new R4, but we've decided to scrap it for https://github.com/radio4000/components. Instead it is now a tool for migrating old Firebase channels to new PostgreSQL ones.
This is a React app to manage radio4000.com data connected to a supabase database/auth.
This repo is currently configured to deploy to migrate to https://migrate.radio4000.com via GitHub Pages.
- Have node (and optionally nvm) installed on your system
git clone
this repository- Create an account on app.supabase.io
- Create a new Supabase project with a PostgreSQL database
In order to have the database ready to work with the radio4000-cms, we need to initialize it with the correct tables and policy/security rules.
To do this, see https://github.com/radio4000/supabase#readme
- First copy the file
.env.example
to.env
. This is where we will enter the keys - Login to app.supabase.io
- Choose your project and go to
Settings > API
- Copy the values of the keys: "Config URL" and "anon public" into your new file
Note: you will need to restart the local server after you have copied the keys.
- Run
npm install
to install all packages the project depends on - Run
npm start
to start the local development server
Note: don't forget to initialize the database table, and update the
.env
file with the correct values (read the docs above).