By default, LinkAce requires using MySQL or PostgreSQL for the regular setup. To use SQLite, please follow the specific
Setup with Docker
Follow the steps 1 to 4 of the Docker installation guide, but do not start the built-in setup now. The database file needs to be created, so run the following commands:
docker exec -it linkace_app_1 touch database/database.sqlite
Stop the Docker container now.
docker-compose stop
To persist your SQLite database, add the following line to the volumes
section in your docker-compose.yml file:
volumes:
- ./database.sqlite:/app/database/database.sqlite
Remove DB_DATABASE=linkace
from your .env
file and replace DB_CONNECTION=mysql
with DB_CONNECTION=sqlite
.
After that run the following command to prepare the database:
docker-compose up -d
docker exec -it linkace_app_1 php artisan migrate
After that, generate a new admin account by running the following account. You will be asked for a username, email address and a password.
docker exec -it linkace_app_1 php artisan registeruser
You can now open LinkAce in your browser and should be able to use the application.
Setup without Docker
Follow the steps 1 to 4 of the regular installation guide, but do not start the built-in setup now. The database file needs to be created, so run the following command:
touch database/database.sqlite
Remove DB_DATABASE=linkace
from your .env
file and replace DB_CONNECTION=mysql
with DB_CONNECTION=sqlite
.
After that run the following command to prepare the database:
php artisan migrate
After that, generate a new admin account by running the following account. You will be asked for a username, email address and a password.
php artisan registeruser
You can now open LinkAce in your browser and should be able to use the application.
Next Step: Post-Setup Steps