Setup dev environment
Contribute to Dopenote
Requirements
PHP 7.3 (7.2 also work, but 7.4 doesn't atm. - march 2020))
Composer
A mariadb/mysql server
npm
- to build javascript files
Setup
Fork the repo on GitHub
Git clone your fork
Run
composer install
in the repo dirCreate a new database called
dopenote
(collation:utf8mb4_unicode_ci
)Rename the file
.env.example
to.env
Change the
DB_*
values in the.env
fileRun
php artisan migrate:fresh
Run
php artisan key:generate
Run
php artisan serve
Run
npm run dev
to build .js files (or runnpm run watch
to watch for changes)See the site at http://127.0.0.1:8000
You can create an admin user by running php artisan db:seed
- then you can login with email: admin@localhost
and password: 12341234
Last updated