Thanks for contributing to RainLoop Webmail!
- Fork the repo, do work in a feature branch.
- Issue a pull request.
apt-get update
sudo apt-get install apache2
sudo apt-get install php
apt-cache search libapache2-mod-php
sudo apt-get install libapache2-mod-php
apt-get install php-curl
apt-get install php-xml
Download rainloop.zip, then
mkdir /var/www/html/rainloop
unzip rainloop-latest.zip -d /var/www/html/rainloop
cd /var/www/html/rainloop
sudo find . -type d -exec chmod 755 {} \;
sudo find . -type f -exec chmod 644 {} \;
sudo chown -R www-data:www-data .
If you need copy from rainloop-webmail
manually
sudo rm -rf /var/www/html/rainloop/rainloop/v/1.17.0/*
sudo cp ./rainloop-webmail/rainloop/v/0.0.0/* -r /var/www/html/rainloop/rainloop/v/1.17.0/
sudo systemctl start apache2
check status
sudo systemctl status apache2
clear cache
sudo rm -rf /var/www/html/rainloop/data/_data_/_default_/cache/*
restart server
sudo systemctl restart apache2
/var/www/html/rainloop/data/_data_/_default_/configs
[contacts]
; Enable contacts
enable = On
- Install PDO SQLite Extension:
sudo apt update
sudo apt install php-sqlite3
- Enable PDO SQLite Extension:
sudo nano /etc/php/{PHP_VERSION}/cli/php.ini
sudo nano /etc/php/{PHP_VERSION}/apache2/php.ini
extension=pdo_sqlite
- Restart the Web Server:
sudo /etc/init.d/apache2 restart
Test admin at http://localhost/rainloop/?admin
admin/12345
check Domains - outlook.com
Test user login at http://localhost/rainloop/
- Install node.js -
https://nodejs.org/download/
- Install yarn -
https://yarnpkg.com/en/docs/install
- Install gulp -
npm install gulp -g
- Fork rainloop -
https://github.com/RainLoop/rainloop-webmail
- Clone rainloop -
git clone [email protected]:USERNAME/rainloop-webmail.git
cd rainloop-webmail
- Install install all dependencies -
yarn install
- Run -
npm run demo
- refresh
http://localhost/rainloop/
- Connect SSH
- Enter the rainloop-webmail repository directory
- Update code:
git pull
- Build front end:
gulp && node ./tasks/copyUniver.js
- Restart server:
docker compose down && docker compose up -d
Debugging JavaScript
- Edit data/_data_/_default_/configs/application.ini
- Set 'use_app_debug_js' (and optionally 'use_app_debug_css') to 'On'
Editing HTML Template Files
- Edit data/_data_/_default_/configs/application.ini
- Set 'cache_system_data' to Off