mirror of
https://github.com/documenso/documenso.git
synced 2025-11-10 04:22:32 +10:00
## Description <!--- Describe the changes introduced by this pull request. --> <!--- Explain what problem it solves or what feature/fix it adds. --> ## Related Issue <!--- If this pull request is related to a specific issue, reference it here using #issue_number. --> <!--- For example, "Fixes #123" or "Addresses #456". --> ## Changes Made <!--- Provide a summary of the changes made in this pull request. --> <!--- Include any relevant technical details or architecture changes. --> - Change 1 - Change 2 - ... ## Testing Performed <!--- Describe the testing that you have performed to validate these changes. --> <!--- Include information about test cases, testing environments, and results. --> - Tested feature X in scenario Y. - Ran unit tests for component Z. - Tested on browsers A, B, and C. - ... ## Checklist <!--- Please check the boxes that apply to this pull request. --> <!--- You can add or remove items as needed. --> - [ ] I have tested these changes locally and they work as expected. - [ ] I have added/updated tests that prove the effectiveness of these changes. - [ ] I have updated the documentation to reflect these changes, if applicable. - [ ] I have followed the project's coding style guidelines. - [ ] I have addressed the code review feedback from the previous submission, if applicable. ## Additional Notes <!--- Provide any additional context or notes for the reviewers. --> <!--- This might include details about design decisions, potential concerns, or anything else relevant. --> <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **Documentation** - Enhanced project README for clarity and improved environment variables section. - Added comprehensive developer and user documentation, including guides on local development, public API, self-hosting, and compliance standards. - Introduced specific guides for contributing, creating API keys, using webhooks, and setting up security measures. - Detailed documentation on various fields available for document signing to improve user understanding. - Added metadata structuring to improve navigation within the documentation site. - **Chores** - Updated `.gitignore` to better handle project files. - **New Features** - Introduced detailed metadata and documentation for various Documenso functionalities, including signing documents, user profiles, and compliance levels. - Added functionality for Direct Link Signing, enabling easy sharing for document signing. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --------- Co-authored-by: Timur Ercan <timur.ercan31@gmail.com> Co-authored-by: Lucas Smith <me@lucasjamessmith.me> Co-authored-by: David Nguyen <davidngu28@gmail.com>
67 lines
1.7 KiB
Plaintext
67 lines
1.7 KiB
Plaintext
---
|
|
title: Developer Quickstart
|
|
description: Quickly set up Documenso on your machine for local development with Docker and Docker Compose.
|
|
---
|
|
|
|
import { Callout, Steps } from 'nextra/components';
|
|
|
|
# Developer Quickstart
|
|
|
|
<Callout type="info">
|
|
**Note**: This guide assumes that you have both [docker](https://docs.docker.com/get-docker/) and
|
|
[docker-compose](https://docs.docker.com/compose/) installed on your machine.
|
|
</Callout>
|
|
|
|
Want to get up and running quickly? Follow these steps:
|
|
|
|
<Steps>
|
|
|
|
### Fork Documenso
|
|
|
|
Fork the [Documenso repository](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/working-with-forks/about-forks) to your GitHub account.
|
|
|
|
### Clone Repository
|
|
|
|
After forking the repository, clone it to your local device by using the following command:
|
|
|
|
```bash
|
|
git clone https://github.com/<your-username>/documenso
|
|
```
|
|
|
|
### Set Up Environment Variables
|
|
|
|
Set up your environment variables in the `.env` file using the `.env.example` file as a reference.
|
|
|
|
Alternatively, you can run `cp .env.example .env` to get started with our handpicked defaults.
|
|
|
|
### Start Database and Mail Server
|
|
|
|
Run `npm run dx` in the root directory.
|
|
|
|
This will spin up a Postgres database and inbucket mailserver in a docker container.
|
|
|
|
### Start the Application
|
|
|
|
Run `npm run dev` in the root directory to start the application.
|
|
|
|
### (Optional) Fasten the Process
|
|
|
|
Want it even faster? Just use:
|
|
|
|
```sh
|
|
npm run d
|
|
```
|
|
|
|
</Steps>
|
|
|
|
### Access Points for the Project
|
|
|
|
You can access the following services:
|
|
|
|
- Main application - http://localhost:3000
|
|
- Incoming Mail Access - http://localhost:9000
|
|
- Database Connection Details:
|
|
- Port: 54320
|
|
- Connection: Use your favourite database client to connect to the database.
|
|
- S3 Storage Dashboard - http://localhost:9001
|