Skip to content

Latest commit

 

History

History
51 lines (32 loc) · 1.55 KB

readme.md

File metadata and controls

51 lines (32 loc) · 1.55 KB

Codeweek Laravel

A grassroots initiative run by volunteers and supported by the European Commission.

Installation

Prerequisites

  • To run this project, you must have PHP 7 installed.
  • You should setup a host on your web server for your local domain. For this you could also configure Laravel Homestead or Valet.
  • If you want use Redis as your cache driver you need to install the Redis Server. You can either use homebrew on a Mac or compile from source (https://redis.io/topics/quickstart).

Step 1

Begin by cloning this repository to your machine, and installing all Composer & NPM dependencies.

git clone https://github.com/codeeu/codeweek.git
cd codeweek && composer install 

Step 2

  1. Create .env based on .env.example file, and add your database credentials and the email that will be set as administrator.

Step 3

Create the database with the default values

php artisan key:generate
chmod -R 777 storage
php artisan migrate:fresh --seed
php artisan vue-i18n:generate
npm install
npm run dev

Step 5

Edit the php config file and increase the

  • PHP Max Memory Limit to 2048M instead of the default 512M
  • Max post size to 2048M

Step 4

  1. Next, boot up a server and visit your site. If using a tool like Laravel Valet, of course the URL will default to http://codeweek.test.
  2. Visit: http://codeweek.test/register to register a new account.