Collaboration
The self-hostable Loom alternative.
Learn more »
Website - Issue - Bug report
Clone the repo into a public GitHub repository (or fork https://github.com/MarconLP/snapify/fork). If you plan to distribute the code, make sure to comply with our LICENSE.md
.
git clone https://github.com/MarconLP/snapify.git
Go to the project folder
cd snapify
Install packages with npm
npm i
Set up your .env file
Duplicate .env.example
to .env
Use openssl rand -base64 32
to generate a key and add it under NEXTAUTH_SECRET
in the .env file.
DATABASE_URL
into the .env
.Authorization callback URL
to <Snapify URL>/api/auth/callback/github
replacing Snapify URL with the URI at which your application runs.Client ID
as GITHUB_ID
into the .env
.Client secret
as GITHUB_SECRET
into the .env
.Endpoint
as AWS_ENDPOINT
and the Bucket name as AWS_BUCKET_NAME
into the .env
. Additionally you need to add the AWS_REGION
, which is part of the endpoint and should look like this: us-east-005
.keyID
as AWS_KEY_ID
and the applicationKey
as AWS_SECRET_ACCESS_KEY
into the .env
.Set up the database using the Prisma schema
npx prisma db push
Run (in development mode)
npm run dev
Be sure to set the environment variable NEXTAUTH_URL
to the correct value. If you are running locally, as the documentation within .env.example
mentions, the value should be http://localhost:3000
.
# In a terminal just run:
npm run test:e2e
Please see our contributing guide at CONTRIBUTING.md
Distributed under the AGPLv3 License. See LICENSE.md
for more information.