Required:
git
php
composer
npm
Copy the example environment file.
The .env
file stores all of the values that may change depending on where it is run. Therefore, the .env
file should
not be committed.
cp .env.example .env
At this point, you will need to edit .env
and add your own environment values. The database values must be correct, or
you will get errors further on in the installation.
To get a YouTube API key:
- Go to the Google Developers Console and create a new project
- Open 'Enable APIs'
- Open 'YouTube Data API'
- Click 'Enable API'
- In the sidebar, open 'APIs & auth' > 'Credentials'
- Click 'Add credentials' > 'API key' > 'Server key'
- Choose a descriptive name for your key, and optionally provide the IP addresses that the API will be queried from
- Copy and paste your API key into the
YOUTUBE_API_KEY
in the.env
file
Install composer dependencies.
composer install
If you did not modify the APP_KEY
value in the .env
file, you should generate a secure application key.
php artisan key:generate
Install npm dependencies.
npm install
Install frontend assets.
node_modules/.bin/bower install
Combine assets into public folder using gulp.
node_modules/.bin/gulp
If you already have gulp
installed, you can omit the directory and just run gulp
.
Run the migrations.
php artisan migrate
If you need some dummy data to get started, run
php artisan db:seed
Please read the contributing guide.