Install
To install Arkhein, follow these steps.
Installation Steps
1. Clone the repository
bash
git clone https://github.com/melasistema/arkhein.git
cd arkhein2. Install dependencies
bash
composer install
npm install3. Build frontend assets
bash
npm run build4. Configure the environment
Copy the example environment file and update it with your settings.
bash
cp .env.example .env
php artisan key:generate5. Start the NativePHP dev server
bash
php artisan native:serveInvariants
- Environment Isolation: Arkhein uses the
.envfile 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.