This is the source code for https://projects.jonathanbell.ca/
The site runs on Laravel version 5.6. Feel free to fork/clone in order to use as a basis for your own website, but please change the content.
- Clone or download this repository.
cp .env.example .env
- Set your MySQL database credentials in
- Set your email service provider credentials in
php artisan migratewill create (empty) DB tables or
php artisan migrate:freshwill delete existing tables and then recreate them.
- Create your first user with:
php artisan tinker
App\User::create(['email'=>'email@example.com', 'password'=>bcrypt('your_password'), 'name'=>'Your Name']);
npm installwill download Webpack and other good things from NPM.
npm run devwill compile the JS and SCSS for the first time.
php artisan serveto run the development server.
npm run watch while writing SCSS and JS in order to compile on the fly and
npm run prod when you are ready to go to compile SCSS and JS for production.
npm run deploy which will
rsync files to your server. Previously, deployment
was handled by Heroku.