You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
H. C. Kruse edited this page Jan 11, 2023
·
1 revision
Pre-requisits
PHP 8.x
php-zip
php-intl
php-gmp
php-gd
php-pdo_sqlite
Composer
NPM
Setup
Clone the repository: https://github.com/StarCitizenWiki/API.git
Change into the newly created directory
Install all required packages: composer install
If you are on Windows you may need to ignore gd: composer install --ignore-platform-req=ext-gd
Optional: Install the npm packages (if you want to update the styles): npm install
Create a file called .env with the following content:
APP_URL=http://localhostAPP_ENV=localAPP_DEBUG=falseAPP_KEY=LOG_LEVEL=info# Set to true to skip MediaWiki OAuth and always login with an admin account# DO NOT USE IN PRODUCTIONADMIN_AUTH_USE_STUB=true# SQLITEDB_CONNECTION=sqliteDB_DATABASE=db.sqlite
Create the following empty file: database/db.sqlite