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

  1. Fork the repo on GitHub

  2. Git clone your fork

  3. Run composer install in the repo dir

  4. Create a new database called dopenote (collation: utf8mb4_unicode_ci)

  5. Rename the file .env.example to .env

  6. Change the DB_* values in the .env file

  7. Run php artisan migrate:fresh

  8. Run php artisan key:generate

  9. Run php artisan serve

  10. Run npm run dev to build .js files (or run npm run watchto watch for changes)

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

Was this helpful?