/docskit

Fork of "docskit" from @pheralb - Create and share documentation effortlessly. Original project: https://github.com/pheralb/docskit

Primary LanguageTypeScriptMIT LicenseMIT

Introduction   â€¢   Packages   â€¢   Development   â€¢   Deployment

👋 Introduction

A simple web app to create beautiful docs using Markdown in your browser.

Supabase Requirements:

Original Creator:

📸 Screenshot

📦 Packages

🔧 Development

To run docskit locally, follow the next steps:

  1. Clone or fork the repository:
git@github.com:pheralb/docskit.git
cd docskit
  1. Install dependencies with your favorite package manager:
# npm:
npm install
# pnpm:
pnpm install
# ultra:
ultra install
# yarn:
yarn install
  1. Create a .env file (root directory) with the following content:
SUPABASE_URL:
SUPABASE_ANON_KEY:
  1. Getting started with Supabase & Github OAuth:

Supabase:

  • Create a new database.
  • Go to Authentication -> Providers and activate Github [*].
  • Go to SQL Editor -> click on New Query and run this query (db.sql).
  • Go to Settings -> API and copy Project URL (SUPABASE_URL env) & Project API keys (SUPABASE_ANON_KEY env).

Github OAuth:

  • Create a new Github OAuth app.
  • [*] Copy Client ID and paste it into Github Secret.
  • [*] Click on Generate a new client secret and paste it into Github Key.
  1. Start the Remix development server:
# npm:
npm run dev
# pnpm:
pnpm dev
# ultra:
ultra dev
# yarn:
yarn dev

And open up http://localhost:3000 🎉

🚀 Deployment

📄 License: