Inspiration: https://www.transitioncambridge.org/thewiki/wiki-uploads/TTEvents.TranNews/megsweb.pdf
Currently online at https://resilienceweb.org.uk
.env.example
file, renaming it to .env
.nvmrc
file, alternatively if you have node version manager (nvm) installed simply run the nvm install
commandnpm install
command to install the projects dependenciesnpm run dev
command to build and run a development version of the app, it will then open in your default browser at http://localhost:3000.env
file, the example DATABASE_URL environment variable will be used in this processnpm run db:up
npx prisma migrate dev
RW_TEST_USER_EMAIL
in .env with your own email address. This will help the Prisma seed function create a test account for you. The email needs to be valid as authentication works via a magic login email.npx prisma db seed
npm run db
npm run db:down
command to shut it down, and don't worry your data will be saved for next time!If you'd like to contribute to the project, get in touch at info@resilienceweb.org.uk. We welcome anyone who wants to contribute code, documendation or testing efforts. If you'd prefer to support the project financially, you can do so at https://opencollective.com/resilience-web.
I wrote a blog post that goes through technical choices that I made for this project. You can read it here: https://dinerismail.dev/blog/how-i-built-a-product-that-people-love
Many thanks to Gitbook for supporting our project by giving us a membership on their brilliant documentation platform.