Local Development
Developer Quickstart
Quickly set up Documenso on your machine for local development with Docker and Docker Compose.
Developer Quickstart
Want to get up and running quickly? Follow these steps:
1
Fork Documenso
2
Fork the Documenso repository to your GitHub account.
3
Clone Repository
4
After forking the repository, clone it to your local device by using the following command:
5
git clone https://github.com/<your-username>/documenso
6
Set Up Environment Variables
7
Set up your environment variables in the
.env
file using the .env.example
file as a reference.8
Alternatively, you can run
cp .env.example .env
to get started with our handpicked defaults.9
Start Database and Mail Server
10
Run
npm run dx
in the root directory.11
This will spin up a Postgres database and inbucket mailserver in a docker container.
12
Start the Application
13
Run
npm run dev
in the root directory to start the application.14
(Optional) Fasten the Process
15
Want it even faster? Just use:
16
npm run d
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