Skip to content

Instantly share code, notes, and snippets.

@glenn-sorrentino
Last active March 31, 2024 04:10
Show Gist options
  • Save glenn-sorrentino/2d051879834d381c9c153cd51146c7a3 to your computer and use it in GitHub Desktop.
Save glenn-sorrentino/2d051879834d381c9c153cd51146c7a3 to your computer and use it in GitHub Desktop.
root@hushline-staging:/var/www/html/hushline# chmod +x install.sh && git pull && ./install.sh
Already up to date.
 _   _           _       _     _            
| | | |_   _ ___| |__   | |   (_)_ __   ___ 
| |_| | | | / __| '_ \  | |   | | '_ \ / _ \
|  _  | |_| \__ \ | | | | |___| | | | |  __/
|_| |_|\__,_|___/_| |_| |_____|_|_| |_|\___|

🀫 Hush Line is the first free and open-source anonymous-tip-line-as-a-service for organizations and individuals.
https://hushline.app

A free tool by Science & Design - https://scidsg.org

Get:1 file:/etc/apt/mirrors/debian.list Mirrorlist [39 B]
Get:5 file:/etc/apt/mirrors/debian-security.list Mirrorlist [27 B]                         
Hit:6 http://security.debian.org bookworm-security InRelease    
Hit:7 https://repos-droplet.digitalocean.com/apt/droplet-agent main InRelease
Hit:2 http://mirrors.digitalocean.com/debian bookworm InRelease
Hit:3 http://mirrors.digitalocean.com/debian bookworm-updates InRelease
Hit:4 http://mirrors.digitalocean.com/debian bookworm-backports InRelease
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
python3 is already the newest version (3.11.2-1+b1).
python3-pip is already the newest version (23.0.1+dfsg-1).
git is already the newest version (1:2.39.2-1.1).
nginx is already the newest version (1.22.1-9).
default-mysql-server is already the newest version (1.1.0).
python3-venv is already the newest version (3.11.2-1+b1).
tor is already the newest version (0.4.7.16-1).
certbot is already the newest version (2.1.0-4).
python3-certbot-nginx is already the newest version (2.1.0-2).
libnginx-mod-http-geoip is already the newest version (1.22.1-9).
ufw is already the newest version (0.36.2-1).
fail2ban is already the newest version (1.0.2-2).
redis is already the newest version (5:7.0.15-1~deb12u1).
redis-server is already the newest version (5:7.0.15-1~deb12u1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
M	docs/img/personal-server.jpg
M	hushline/_mod_admin.py
M	hushline/_mod_generate_invite_codes.py
M	install.sh
M	poetry.lock
Already on 'migrations'
Your branch is up to date with 'origin/migrations'.
πŸ‘ Dedicated user hushlineuser already exists.
Rust is already installed.
Retrieving Poetry metadata

The latest version (1.8.2) is already installed.
Updating dependencies
Resolving dependencies... (1.8s)
Installing dependencies from lock file

No dependencies to install or update

Installing the current project: Hush Line (0.0.1)
Warning: The current project could not be installed: No file/folder found for package hush line
If you do not want to install the current project use --no-root.
If you want to use Poetry only for dependency management but not for packaging, you can disable package mode by setting package-mode = false in your pyproject.toml file.
In a future version of Poetry this warning will become an error!
Checking and setting execute permissions on virtual environment binaries...
Setting execute permission on /var/www/html/hushline/venv/bin/Activate.ps1
βœ… Execute permission set.
Setting execute permission on /var/www/html/hushline/venv/bin/activate
βœ… Execute permission set.
Setting execute permission on /var/www/html/hushline/venv/bin/activate.csh
βœ… Execute permission set.
Setting execute permission on /var/www/html/hushline/venv/bin/activate.fish
βœ… Execute permission set.
πŸ‘ Permissions already set.
πŸ‘ Permissions already set.
πŸ‘ Permissions already set.
πŸ‘ Permissions already set.
πŸ‘ Permissions already set.
πŸ‘ Permissions already set.
πŸ‘ Permissions already set.
πŸ‘ Permissions already set.
πŸ‘ Permissions already set.
πŸ‘ Permissions already set.
πŸ‘ Permissions already set.
πŸ‘ Permissions already set.
πŸ‘ Permissions already set.
πŸ‘ Permissions already set.
πŸ‘ Permissions already set.
πŸ‘ Permissions already set.
πŸ‘ Permissions already set.
πŸ‘ Permissions already set.
πŸ‘ Permissions already set.
πŸ‘ Permissions already set.
πŸ‘ Permissions already set.
πŸ‘ Permissions already set.
πŸ‘ Permissions already set.
πŸ‘ Permissions already set.
πŸ‘ Permissions already set.
πŸ‘ Permissions already set.
πŸ‘ Permissions already set.
πŸ‘ Permissions already set.
πŸ‘ Permissions already set.
πŸ‘ Permissions already set.
πŸ‘ Permissions already set.
πŸ‘ Permissions already set.
πŸ‘ Permissions already set.
πŸ‘ Permissions already set.
πŸ‘ Permissions already set.
πŸ‘ Permissions already set.
The following packages are already present in the pyproject.toml and will be skipped:

  - poetry-plugin-export

If you want to update it to the latest compatible version, you can use `poetry self update`.
If you prefer to upgrade it to the latest available version, you can use `poetry self add package@latest`.

Nothing to add.
πŸ‘ Tor configuration for test.ourdemo.app already exists in /etc/tor/torrc. Skipping configuration.
πŸ‘ Nginx site configuration already exists.
πŸ‘ SSL certificate directory for test.ourdemo.app already exists. Skipping SSL certificate acquisition.
πŸƒβ€βž‘οΈ MariaDB server is already running.
MySQL/MariaDB is installed.
πŸ‘ mysql_secure_installation has already been run previously.
πŸ‘ Migrations already initialized.
INFO  [alembic.runtime.migration] Context impl MySQLImpl.
INFO  [alembic.runtime.migration] Will assume non-transactional DDL.
INFO  [alembic.env] No changes in schema detected.
INFO  [alembic.runtime.migration] Context impl MySQLImpl.
INFO  [alembic.runtime.migration] Will assume non-transactional DDL.
πŸƒβ€βž‘οΈ Redis server is already running.
Configuring unattended-upgrades...
Fail2Ban is not running. Starting and enabling Fail2Ban...
Synchronizing state of fail2ban.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable fail2ban
βœ… Fail2Ban started and enabled.
Setting correct permissions for the application directory...
Ensuring virtual environment binaries are executable...
Restarting and enabling services...
Installation and configuration completed successfully.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment