Skip to content

LMMS/lmms.io

Folders and files

NameName
Last commit message
Last commit date

Latest commit

c58838a · Feb 25, 2025
May 30, 2024
Mar 13, 2022
Aug 15, 2024
Feb 12, 2025
Mar 19, 2018
Feb 13, 2025
Dec 26, 2019
May 23, 2021
Feb 11, 2025
Feb 19, 2025
Mar 20, 2024
Feb 19, 2025
Jan 28, 2025
May 30, 2024
Jan 28, 2025
Dec 7, 2019
Jun 6, 2022
Nov 22, 2021
Jan 29, 2025
Jan 28, 2025
Feb 25, 2025
Jan 28, 2025

Repository files navigation

lmms.io

This repository contains the source for LMMS's website, live at https://lmms.io.

How to test the website locally

  1. Fork the repository here
  2. Clone the forked repository.
git clone https://github.com/<your-username>/lmms.io.git
  1. Get Composer

This project uses Composer for dependency management. You'll have to fetch those dependencies using Composer. For this, you must have Composer installed on your system. For quickly installing Composer locally on *nix, run:

Install PHP 8.2 and the required components.
These commands are for Linux. It may be different from how it is installed on other OSes.

sudo add-apt-repository ppa:ondrej/php
sudo apt install curl php8.2 php8.2-xml php8.2-gd php8.2-intl php-symfony
cd lmms.io
curl -sS https://getcomposer.org/installer | php

For installing Composer locally on Windows (i.e. Wamp), run:

cd lmms.io
php -r "eval('?>'.file_get_contents('https://getcomposer.org/installer'));"

Note: You need to add php.exe to the Windows PATH, usually located in c:\wamp\bin\php\phpx.y.z For instructions for other OSes or for installing globally, visit Composer's Getting Started document.

  1. Fetch dependencies using Composer.

After downloading Composer locally using the instructions above, fetch the dependencies by running the command below.

php composer.phar install

You'll have to run this command every time the dependencies in composer.json change.

Note: For macOS, some dependencies must be installed manually.

  1. Start the local server.
php -S localhost:8000 -t ./public/

You can then open http://localhost:8000/ in a browser.

  1. Optionally, configure the local apache and nginx instances.

With Apache:

	<Directory /home/user/lmms.io/public/>
		# add fallback resource to Apache config
		FallbackResource /index.php
	</Directory>

With Nginx:

	# go to our front controller if none of them exists
	location / {
		try_files $uri $uri/ /index.php?$args;
	}