This is the repository for the Laravel.io community portal. The code is entirely open source and licensed under the MIT license. We welcome your contributions but we encourage you to read the the contributing guide before creating an issue or sending in a pull request. Read the installation guide below to get started with setting up the app on your machine.
We hope to see your contribution soon!
The following tools are required in order to start the installation.
Note that you're free to adjust the
~/Sites/laravelio
location to any directory you want on your machine.
- Clone this repository:
git clone git@github.com:laravelio/laravel-io.git ~/Sites/laravelio
- Add the
Homestead.yaml
file from below to the root of your project - Run
vagrant up
- SSH into your Vagrant box, go to
/home/vagrant/laravelio
and run the following commands:composer install
php artisan key:generate
php artisan migrate --seed
yarn install
yarn dev
- Add
192.168.10.10 lio.app
to your computer's/etc/hosts
file
You can now visit the app in your browser by visiting http://lio.app
ip: 192.168.10.10
memory: 2048
cpus: 1
provider: virtualbox
authorize: ~/.ssh/id_rsa.pub
keys:
- ~/.ssh/id_rsa
folders:
- { map: ~/Sites/laravelio, to: /home/vagrant/laravelio }
sites:
- { map: lio.app, to: /home/vagrant/laravelio/public }
databases:
- homestead
name: laravelio
hostname: laravelio
To get Github authentication to work locally, you'll need to register a new OAuth application on Github. Use http://lio.app
for the homepage url and http://lio.app/auth/github
for the callback url. When you've created the app, fill in the ID and secret in your .env
file in the env variables below. You should now be able to authentication with Github.
GITHUB_ID=
GITHUB_SECRET=
GITHUB_URL=http://lio.app/auth/github
The Laravel.io portal is currently maintained by Dries Vints. If you have any questions please don't hesitate to create an issue on this repo or ask us through the #laravelio channel on Slack.
Please read the contributing guide before creating an issue or sending in a pull request.
Please read our Code of Conduct before contributing or engaging in discussions.
If you discover a security vulnerability within Laravel.io, please send an email immediately to Dries Vints at dries.vints@gmail.com. Do not create an issue for the vulnerability.
The MIT License. Please see the license file for more information.