Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
app
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

projects.jonathanbell.ca

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.

Dev installation

  1. Clone or download this repository.
  2. cp .env.example .env
  3. Set your MySQL database credentials in .env
  4. Set your email service provider credentials in .env
  5. composer install
  6. php artisan migrate will create (empty) DB tables or php artisan migrate:fresh will delete existing tables and then recreate them.
  7. Create your first user with: php artisan tinker
    1. App\User::create(['email'=>'youremail@email.com', 'password'=>bcrypt('your_password'), 'name'=>'Your Name']);
    2. exit (to leave tinker)
  8. npm install will download Webpack and other good things from NPM.
  9. npm run dev will compile the JS and SCSS for the first time.
  10. php artisan serve to run the development server.

Use 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.

Deployment

npm run deploy which will rsync files to your server. Previously, deployment was handled by Heroku.

About

Source code for projects.jonathanbell.ca

Topics

Resources

License

Releases

No releases published

Packages

No packages published
You can’t perform that action at this time.