/Simone

Simone, the simple markdown wiki

Primary LanguageJavaScript

Simone

Prerequisites

  • Have a dedicated domain name
  • Choose an app name for your Simone

Installation

  • Install git nginx php7.0-fpm
  • Create a dedicated nginx configuration
    • You can use conf/ngxin.conf and save it as /etc/nginx/conf.d/DOMAIN.conf
    • Update the nginx configuration file replacing
      • DOMAIN by your dedicated domain name
      • APP by your app name
  • Create a dedicated php-fpm configuration
    • You can use conf/php-fpm.conf and save it as /etc/php/7.0/fpm/pool.d/DOMAIN.conf
    • Update the php-fpm configuration file replacing
      • APP by your app name
  • Restart nginx service nginx reload
  • Create a letsencrypt configuration
    • You can use conf/letsencrypt.ini and save it as /etc/letsencrypt/conf.ini
    • Update the letsencrypt configuration file replacing
      • DOMAIN by your dedicated domain name
  • Install a letencrypt certificate
    • cd ~/
    • git clone https://github.com/letsencrypt/letsencrypt
    • cd letsencrypt/
    • sudo ./letsencrypt-auto certonly --config /etc/letsencrypt/conf.ini -d your.domaine.name
    • if the certificate is properly generated, modify /etc/nginx/conf.d/DOMAIN.conf removing the two # before ssl_certificate and ssl_certificate_key
  • Restart nginx service nginx reload
  • Clone Simone in /var/www/APP
  • Git init in /var/www/APP/_pages or git clone https://github.com/yunohost/doc in /var/www/APP/_pages if you want to load the YunoHost documentation in your Simone
  • Chown -R www-data /var/www/APP