Manual Installation
- git ( https://git-scm.com )
- composer ( https://getcomposer.org )
- PHP ≥ 8.0.2
- MySQL, Postgres, SQLite or SQL Server (currently only MySQL and PostgreSQL and SQLite were tested)
git clone https://github.com/fr0tt/benotesdownload files version-controlled
composer installinstall dependencies accordingly to your php version
cp .env.example .envcopy configuration file
- create a database
- also edit
DB_DATABASE,DB_USERNAMEandDB_PASSWORDin.envfile accordingly. If you use something else than MySQL you need to adjustDB_CONNECTIONand most likelyDB_PORTas well.DATABASE_URLis also supported if you want to you use that instead.in order to be able to connect to your database
DB_CONNECTION=mysql
DB_HOST=localhostOrYourDatabaseIpAddress
DB_PORT=3306
DB_DATABASE=yourDatabaseName
DB_USERNAME=yourDatabaseUsername
DB_PASSWORD=yourDatabasePasswordphp artisan installamongst other: create database tables and fill them. Type yes if asked
ln -sfn ../storage/app/public/ public/storagecreate symlink for storage
chown -R :www-data storage && chmod -R 774 storagemake storage directory writable for webserver if your webserver runs as user www-data
- if you wish to use it on a production server change in your
.envfileAPP_ENVfromlocaltoproduction - configure your webserver to point to the
publicdirectory or use for testing purposesphp artisan serve
git pullupgrade files
composer installupgrade dependencies
php artisan migrateupgrade database schemas
php artisan cache:clearclear cache

