Skip to content

privacy-scaling-explorations/qdh-admin

Repository files navigation

QDH Logo

Admin dashboard for QDH

We've based it off an open source headless CMS, called Strapi

How to run Admin panel locally

Clone this repo. Install dependencies by running yarn or npm install.

yarn
yarn develop
# or
npm install
npm run develop

In the root of the project, copy .env.example file and name it .env.

Set values for all the missing variables, such as MONGO_URL, AZURE_STORAGE_ACCOUNT_NAME, AZURE_CONTAINER_NAME, AZURE_KEY, AZURE_CONNECTION_STRING and ADMIN_JWT_SECRET, which is just a random secret salt string.

Run yarn develop to start the server locally.

The api will be available at http://localhost:1337 and the admin panel at http://localhost:1337/admin

Deploying

Simplest way to deploy this would be on Heroku or on something like Dokku, just by adding the remote server to the git origin and pushing code to it.

If you'd like to containerize this for Docker, please do so and make a pull request.

Once Strapi is deployed, please don't forget to update NEXT_PUBLIC_STRAPI_URL in your QDH frontend deployment.

About

Admin panel for QDH. Based on Strapi

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published