Skip to content

Install ​

To install Arkhein, follow these steps.

Installation Steps ​

1. Clone the repository ​

bash
git clone https://github.com/melasistema/arkhein.git
cd arkhein

2. Install dependencies ​

bash
composer install
npm install

3. Build frontend assets ​

bash
npm run build

4. Configure the environment ​

Copy the example environment file and update it with your settings.

bash
cp .env.example .env
php artisan key:generate

5. Start the NativePHP dev server ​

bash
php artisan native:serve

Invariants ​

  • Environment Isolation: Arkhein uses the .env file to manage its local configuration.
  • Port Conflicts: NativePHP will notify you if a port required for its internal web server is already in use.

Common Failures ​

Build Errors ​

If npm run build fails, ensure your Node.js version is compatible with the project requirements.

NativePHP Serving ​

If php artisan native:serve does not start the macOS application window, check the Laravel log for any missing PHP extensions or runtime errors.