Skip to main content
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:
This will:
  • 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

The development server will be running at http://localhost:3000

Useful Commands

Project Structure

Code Formatting

We recommend using the following VSCode extensions for development:

Troubleshooting

This may be due to an outdated version of Node.js. Try the following:
  1. Check your Node.js version matches the one in .nvmrc
  2. Run make clean to clean the environment
  3. Run make up to reinitialize the project

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
For more information about the license, visit https://www.gnu.org/licenses/agpl-3.0.html