The Admin app for Sound Doctrine Online powered by Keystone JS.
- Node.js (v16 or higher)
- npm or yarn
- PostgreSQL database
-
Clone the repository:
git clone https://github.com/sounddoctrine-de/sdo-keystone.git cd sdo-keystone
-
Install dependencies:
npm install
-
Set up environment variables: Create a
.env
file in the root directory with the following variables:KEYSTONE_DB_URL=postgresql://username:password@localhost:5432/sdo_keystone KEYSTONE_SESSION_SECRET=your-session-secret-here
To start the development server:
npm run dev
The Keystone admin interface will be available at http://localhost:3000
-
Build the application:
npm run build
-
Start the production server:
npm start
Before running the application, make sure your PostgreSQL database is set up and accessible with the connection string provided in your .env
file.
The application will automatically handle database migrations and schema updates through Keystone's built-in migration system.