Clone Mastodon's repository.
# Clone mastodon to ~/live directory
git clone https://github.com/tootsuite/mastodon.git live
# Change directory to ~/live
cd ~/live
When you create a tar archive of a directory tree the hidden files are normally not included. Here’s how to include the hidden files. | |
Say you have a web directory called “/var/www/html/mysite/” that contains the following tree: | |
.htaccess | |
index.php | |
logo.jpg | |
style.css | |
admin_dir/.htaccess | |
admin_dir/includes.php |