In this guide we will only focus on using the prebuilt images from Docker Hub.
Prerequisites: You have Git, Docker and Docker compose installed.
Clone Mastodon's repository.
# R is a scripting language | |
# Arithmetic Operators | |
5+5 | |
# 10 | |
# Arithmetic Operators | |
# Addition: + | |
# Subtraction: - |
class ProductAdmin(admin.ModelAdmin): | |
list_display = ('name','thumb') | |
def thumb(self, obj): | |
return render_to_string('thumb.html',{ | |
'image': obj.image | |
}) | |
thumb.allow_tags = True |
# -*- coding: utf-8 -*- | |
""" | |
Upload folder to Google Drive | |
""" | |
# Enable Python3 compatibility | |
from __future__ import (unicode_literals, absolute_import, print_function, | |
division) |
wget https://cli-assets.heroku.com/branches/stable/heroku-linux-arm.tar.gz | |
mkdir -p /usr/local/lib /usr/local/bin | |
sudo tar -xvzf heroku-linux-arm.tar.gz -C /usr/local/lib | |
sudo ln -s /usr/local/lib/heroku/bin/heroku /usr/local/bin/heroku |
captainVersion: 4 | |
services: | |
$$cap_appname: | |
environment: | |
database__client: 'mysql' | |
database__connection__host: $$cap_mariadb_host | |
database__connection__database: $$cap_ghost_database_name | |
database__connection__password: $$cap_ghost_database_password | |
database__connection__user: $$cap_ghost_database_user | |
database__connection__port: '3306' |
In this guide we will only focus on using the prebuilt images from Docker Hub.
Prerequisites: You have Git, Docker and Docker compose installed.
Clone Mastodon's repository.