Setup dev environment
Contribute to Dopenote
Last updated
Was this helpful?
Contribute to Dopenote
Last updated
Was this helpful?
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
Fork the repo on GitHub
Git clone your fork
Run composer install
in the repo dir
Create a new database called dopenote
(collation: utf8mb4_unicode_ci
)
Rename the file .env.example
to .env
Change the DB_*
values in the .env
file
Run php artisan migrate:fresh
Run php artisan key:generate
Run php artisan serve
Run npm run dev
to build .js files
(or run npm run watch
to watch for changes)
See the site at
You can create an admin user by running php artisan db:seed
- then you can login with email: admin@localhost
and password: 12341234