fluidblue / adminer-sqlite

Use adminer with a local sqlite database

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

adminer-sqlite

With adminer-sqlite you can use adminer with a local sqlite database.

Usage

Hint: The following usage instructions are written for macOS and Linux. On Windows, the commands must be adapted.

  1. Download and install Docker.

  2. Download adminer-sqlite

git clone https://github.com/fluidblue/adminer-sqlite.git
cd adminer-sqlite
  1. Copy your database to db directory -or- create a symbolic link to the database
# Option 1
cp /path/to/db.sqlite3 ./db/db.sqlite3

# Option 2
ln -s /path/to/db.sqlite3 ./db/db.sqlite3
  1. Set a new password in docker-compose.yml (environment variable ADMINER_PASSWORD). Note: You can't use an empty password.

  2. Use Docker compose to start the container

docker-compose up -d
  1. Go to http://localhost:8080 and enter the following
System: SQLite 3
Username: <empty>
Password: <your password>
Database: /db/db.sqlite3

License

Copyright (C) 2023 Max Geissler

This program is free software, licensed under the GNU General Public License (GPL) v3.0 or later. Please see the License for further information.

About

Use adminer with a local sqlite database

License:Other


Languages

Language:PHP 100.0%