import { program } from 'commander' import chalk from 'chalk' import { command, execSync, log } from './helpers/command.js' install nginx -y exec('cp '.base_path().'/resources/nginx/snippets/*.conf /etc/nginx/snippets'); exec('mkdir /var/www/imateapot'); exec('cp '.base_path().'/resources/imateapot/public/* /var/www/imateapot'); exec('chmod 644 /var/www/imateapot/*'); echo $(grep ^processor /proc/cpuinfo | wc -l) echo $(ulimit -n) ufw allow "Nginx Full" chown -R www-data:www-data /var/www chmod -R 775 /var/www chmod g+s /var/www usermod -aG www-data