Skip to content

Scripts for building, configuring, and installing Miki.

License

Notifications You must be signed in to change notification settings

themimixcompany/mkadm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mkadm

Scripts for building, configuring, and installing Miki.

Before using this script, you must first authenticate with DigitalOcean. To do so, run:

doadm -I

To create an instance with the following configuration,

  • name: goliath
  • email: [email protected]
  • domain: goliath.streamsharing.io
  • droplet name: miki-goliath

run:

mkadm -n goliath -e [email protected]

To do the same, but with the following firewall configuration:

  • allowed ip addresses: self (control conter), 73.6.24.189
  • allowed ports: 22 , 80, 443

run:

mkadm -n goliath -e [email protected] -fA 73.6.24.189.144

To connect to goliath via SSH, run:

mkadm -n goliath -s

To connect to the SQL command line on goliath, run:

mkadm -n goliath -S

To load an SQL file, run:

mkdam -n goliath -F file.sql

To list the contents of the /tmp directory on goliath, run:

mkadm -n goliath -c 'ls /tmp'

To expunge goliath, run:

mkadm -n goliath -x

To extract the database from goliath, run:

mkadm -n goliath --dump-database file.pg.xz

To upload a database to goliath, run:

mkadm -n goliath --restore-database file.pg.xz

To list all the instances, run:

mkadm -l

To display usage summary, run:

mkadm --help

About

Scripts for building, configuring, and installing Miki.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published