Skip to content

Latest commit

 

History

History
50 lines (34 loc) · 1013 Bytes

README.md

File metadata and controls

50 lines (34 loc) · 1013 Bytes

dsk - private file storage focused on shareability

Gettings Started

Instalation

  1. Clone the repo

    git clone https://github.com/rvndl/dsk.git
  2. Install required packages

    yarn
  3. Set up the environment variables

    • Rename .env-example to .env

    • Change the default variables

      # .env
      
      # Canonical URLs of your site
      NEXTAUTH_URL="http://localhost:3000"
      NEXT_PUBLIC_HOST="http://localhost:3000"
      
      # Access password
      DSK_PASSWORD="password"
      
      # JWT Secret for signing tokens, remember to change this and make it long and unguessable
      AUTH_SECRET="secret"
  4. Build and start the server

    yarn build && yarn start

Notes

By default prisma uses sqlite as the default connector, you can change it by editing prisma/schema.prisma.

More informations