This is a portfolio of our work. It connects to Github, and automatically updates every hour.
This portfolio is in use at our website.
- Download the code
- Run the command
npm installto install the node dependencies. - Run the command
composer installto install the composer dependencies. - Run the command
npm run buildto build the assets. - Run the command
php artisan key:generateto generate a new key. - Run the command
php artisan migrateto create the database tables. - Edit the .env file with your Github username.
- Go to
/resources/views/components/brand-logo.blade.phpand change the SVG file within to your own logo. - Go to
/resources/views/components/footer.blade.phpand change the data of the footer to your own. - On your github account or repository, create a new repository called ".portfolio" and add a README.md file, this is your portfolio content, you can add anything you want here.
- Run the command
php artisan github:generateand it will fill out the data. - Run the command
php artisan serveto start the server. - Start the scheduler by running the command
php artisan schedule:work. (For production, you may want to add this as a CRON job.) - Visit the
http://127.0.0.1:8000address in your browser to see your portfolio.
After you've completed set up, you may run the command php artisan export to generate a static site. This will create a folder called "dist" which you may upload to your web server.
Note: When using this method of hosting; you will need to change the .env variable APP_URL to the URL of your website.
You can change the settings in the .env file. Here are some of the important settings that you can change:
APP_NAME: The name of your website.APP_URL: The URL of your website.GITHUB_USERNAME: Your Github username.GITHUB_FILTER_FORKS: Whether to filter out forked repositories. (true/false)GITHUB_FILTER_ARCHIVED: Whether to filter out archived repositories. (true/false)GITHUB_FILTER_DESCRIPTION: Whether to filter out repositories without a description. (true/false)