Skip to main content
Version: Next

Manual installation

Requirements

Minimum requirements are described on the Requirements page.

Installation

First, you need to download the latest release of BiznisBox from our Github repository. The production build is named production.zip. You must download this file.

After you download the zip file, you need to extract it to your web server. You can use any web server you want described on the Requirements page.

note

The base directory is a public folder. You need to set your web server to use the public folder as a base directory.

After you extract the zip file, you need to copy the .env.example file to .env and set your environment variables.

Make sure you set the APP_KEY variable. You can generate the key by running the following command:

php artisan key:generate
note

Before you move to the next step, you must create an empty database.

After you set your environment variables, you need to run the following command to migrate the database:

php artisan migrate

After the migration is done, you need to run the following command to seed the database:

php artisan db:seed --class=ProductionSeeder

This command will seed the database with the default data. After the seeding is done, you can open the app in your web browser.

Then you must create file storage link by running the following command:

php artisan storage:link

This allows you to access the files in the storage folder from the web.

After that you must in the root of the project add file called install.lock. File can be empty, it is used to prevent the installation process to be run again.

touch install.lock
note

Before you can use the app, you need manually create an admin user. In the future, we will add a command to create an admin user.

To create an admin user, you need to run the following command:

php artisan biznisbox:create-user {email} {password} {first_name} {last_name} {role}

Replace the placeholders with your data. The role can must be super_admin.

After you create the admin user, you can log in to the app and start using it.