Giter Club home page Giter Club logo

mastodon.sh's Introduction

Welcome ;) !

Debian might create a package, waiting for news ! https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=859741

Install your Mastodon instance without touching anything ! This script has been created by PastaGringo with indirect help of Angristan This script works on Debian 8 (Jessie) and is still in development

There are few things that you need to know before continuing if you want your own fonctionnal Mastodon instance :

  • You need to have a valid domain name with an A DNS record with the local server IP address
  • You need to have an account with a SMTP tiers like Mailgun/SparkPost or you own SMTP relay
  • Few dozen of minutes regarding of your server performances

If all above things are in your possession, we can continue and install your first Mastodon instance !

How-To

wget https://raw.githubusercontent.com/PastaGringo/Mastodon.sh/master/mastodon.sh && bash mastodon.sh

Don't hesitate to contact me on Mastodon if you need anything! https://mastodon.partipirate.org/@PastaGringo

To-Do

  • Non-verbose mode
  • Setup admin account
  • Mailgun settings integration
  • cron jobs
  • ...

mastodon.sh's People

Contributors

boffire avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

xpcom-bsd

mastodon.sh's Issues

Curl command

Hi,
Curl line 89 sould be installed before executing in line 89 ;) or think about alternative using wget.
Regards,

error start nginx

nginx: [emerg] BIO_new_file("/etc/letsencrypt/live/www.social.lalunahost.com.br/fullchain.pem") failed (SSL: error:02001002:system library:fopen:No such file or directory:fopen('/etc/letsencrypt/live/www.social.lalunahost.com.br/fullchain.pem','r') error:2006D080:BIO routines:BIO_new_file:no such file)

nginx not able to start

nginx -t
nginx: [alert] could not open error log file: open() "/var/log/nginx/error.log" failed (13: Permission denied)
2019/03/05 07:16:52 [warn] 29963#29963: the "user" directive makes sense only if the master process runs with super-user privileges, ignored in /etc/nginx/nginx.conf:1
2019/03/05 07:16:52 [emerg] 29963#29963: BIO_new_file("/etc/letsencrypt/live/graylog.computingforgeeks.com/fullchain.pem") failed (SSL: error:02001002:system library:fopen:No such file or directory:fopen('/etc/letsencrypt/live/graylog.computingforgeeks.com/fullchain.pem','r') error:2006D080:BIO routines:BIO_new_file:no such file)
nginx: configuration file /etc/nginx/nginx.conf test failed

Add cron

Pour ajouter la tache cron :

cat << eof > /etc/cron.d/mastodon
0 * * * * mastodon cd /home/mastodon/live && RAILS_ENV=production /home/mastodon/.rbenv/shims/bundle exec rake mastodon:media:clear
0 * * * * mastodon cd /home/mastodon/live && RAILS_ENV=production /home/mastodon/.rbenv/shims/bundle exec rake mastodon:push:refresh
0 * * * * mastodon cd /home/mastodon/live && RAILS_ENV=production /home/mastodon/.rbenv/shims/bundle exec rake mastodon:feeds:clear
eof

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.