Prerequisites: - Node.js (version specified in .nvmrc) - pnpm
Local Development
Follow these steps to set up and run Tutly documentation locally:Step 1: Clone the Repository
Step 2: Set Up Development Environment
Run the following command to set up your development environment:- Copy the example environment file to
.env - Install all dependencies
- Set up local Docker services
- Initialize the database schema
- Load initial dummy data
Step 3: Start Development Server
http://localhost:3000
Useful Commands
Project Structure
Code Formatting
We recommend using the following VSCode extensions for development:- MDX VSCode extension for syntax highlighting
- Prettier for code formatting
Troubleshooting
Error: Could not load the 'sharp' module
Error: Could not load the 'sharp' module
This may be due to an outdated version of Node.js. Try the following:
- Check your Node.js version matches the one in .nvmrc
- Run
make cleanto clean the environment - Run
make upto reinitialize the project
Docker-related issues
Docker-related issues
License
This project is licensed under the GNU Affero General Public License v3.0. See the LICENSE file for details. Key points of the license:- You are free to use and modify the software for personal use
- Distribution of the software is not permitted
- You must preserve the license and copyright notices
- You must state significant changes made to the code
- The license applies to the entire work, including all its parts

