{"id":15817691,"url":"https://github.com/rawilk/randallwilk.dev","last_synced_at":"2025-05-13T01:21:38.185Z","repository":{"id":37517891,"uuid":"160953939","full_name":"rawilk/randallwilk.dev","owner":"rawilk","description":"Repo for my personal site.","archived":false,"fork":false,"pushed_at":"2025-05-09T21:19:50.000Z","size":75879,"stargazers_count":4,"open_issues_count":11,"forks_count":0,"subscribers_count":2,"default_branch":"develop","last_synced_at":"2025-05-09T22:25:55.649Z","etag":null,"topics":["laravel"],"latest_commit_sha":null,"homepage":"https://randallwilk.dev","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rawilk.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-12-08T15:48:59.000Z","updated_at":"2025-05-09T21:19:04.000Z","dependencies_parsed_at":"2023-02-17T10:00:52.948Z","dependency_job_id":"8ffb35c7-58da-4e93-b7c9-989cbe35fd78","html_url":"https://github.com/rawilk/randallwilk.dev","commit_stats":{"total_commits":234,"total_committers":3,"mean_commits":78.0,"dds":0.3846153846153846,"last_synced_commit":"98d12aa1dee512488900c86b61033b01f24e0d28"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rawilk%2Frandallwilk.dev","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rawilk%2Frandallwilk.dev/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rawilk%2Frandallwilk.dev/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rawilk%2Frandallwilk.dev/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rawilk","download_url":"https://codeload.github.com/rawilk/randallwilk.dev/tar.gz/refs/heads/develop","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253851593,"owners_count":21973770,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["laravel"],"created_at":"2024-10-05T06:00:27.856Z","updated_at":"2025-05-13T01:21:38.171Z","avatar_url":"https://github.com/rawilk.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# The source code of randallwilk.dev\n\n[![Tests](https://github.com/rawilk/randallwilk.dev/actions/workflows/pest.yml/badge.svg?branch=develop)](https://github.com/rawilk/randallwilk.dev/actions/workflows/pest.yml)\n[![Laravel Forge Site Deployment Status](https://img.shields.io/endpoint?url=https%3A%2F%2Fforge.laravel.com%2Fsite-badges%2F2154a8d9-deed-48ab-ad0d-c8ff49b46bf4%3Fdate%3D1%26label%3D1%26commit%3D1\u0026style=plastic)](https://forge.laravel.com/servers/855537/sites/2525798)\n\nThis repo contains the source code of [my personal website](https://randallwilk.dev).\n\n# Local Development\n\nAll development should be done on or PR'd to the `develop` branch. Treat the `main` and `stage` branches as readonly.\n\nTo work on this project on your local machine, you may follow the instructions below. These instructions\nassume you are serving the site using Laravel Valet or Herd out of your `~/Sites` directory:\n\n## Requirements\n\nBe sure the following are installed on your machine:\n\n- [Composer](https://getcomposer.org/download/)\n- PHP \u003e= 8.3\n- PostgreSQL \u003e= 16\n- Node \u003e= 18\n- Redis for queues/cache\n- (Optional) A GitHub OAuth app for your local installation for social login\n\n## Installation\n\n```bash\ncd ~/Sites\n\n# Clone your forked version - replace {username} with your username\ngit clone git@github.com:{username}/randallwilk.dev randallwilk.dev\n\ncd randallwilk.dev\n\n# Run the bash setup script\n./bin/setup.sh\n```\n\n\u003e **Note:** Be sure to fill out GitHub credentials in the `.env` to import docs (optional).\n\n\u003e **Note:** The `repositories` database table is only populated by running the `php artisan import:github-repositories` command, and the repositories pulled in are based on your GitHub credentials in the `.env` file.\n\n## Docs\n\nDocs can be imported from the artisan command, as long as you have Laravel Horizon running and the credentials for the GitHub api filled in. It also requires you to have read access to each of the repositories that have docs (I don't think that should be an issue since they're all public).\n\n```bash\nphp artisan import:docs\n```\n\n# Syncing Upstream Changes Into Your Fork\n\nThis [GitHub article](https://help.github.com/en/articles/syncing-a-fork) provides instructions on how to pull the\nlatest changes from this repository into your fork.\n\n# Updating After Remote Code Changes\n\nIf you pull down the upstream changes from this repository into your local repository, you'll want to update your\nComposer and NPM dependencies. For convenience, you may run the `bin/update-deps.sh` script to update these things:\n\n```bash\n./bin/update-deps.sh\n```\n\n# Commands\n\n| Command | Description                                                                                    |\n| --- |------------------------------------------------------------------------------------------------|\n| `npm run dev` | Watch for changes in CSS and JS files                                                          |\n| `php artisan test` | Run tests                                                                                      |\n| `php artisan import:docs` | Import doc files                                                                               |\n| `php artisan import:github-repositories` | Sync public repo info with GitHub                                                              |\n| `php artisan import:packagist-downloads` | Sync download stats for composer packages                                                      |\n| `php artisan sitemap:generate` | Regenerate sitemaps                                                                            |\n| `php artisan app:refresh-staging-data` | Sync staging database with production; only available to run in production environment         |\n| `php artisan app:redact-sensitive-data` | Redact sensitive information from certain tables; not allowed to run in production environment |\n\n# Deployment\n\nDeployments for the `main` and `stage` branch are handled through GitHub actions that will handle generating a fresh copy of the `.env` file with secrets from my 1Password vault. The action will send the fresh copy to the server and trigger a deployment through Forge.\n\nA deployment to the production and staging environments can only be triggered manually by dispatching the GitHub workflow, which requires the correct access permissions to the repository.\n\n## Secrets\n\nFor the GitHub actions workflow `deploy.yml` to work correctly, the following repository secrets are defined for the `production` and `staging` environments.\n\n| Secret                    | Description                                                                                                                                                            |\n|---------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `FORGE_TRIGGER_URL`       | The deployment trigger URL for the site in Laravel Forge                                                                                                               |\n| `KNOWN_HOSTS`             | The server ip and public keys. Can find this info in `known_hosts` file after connecting the server via ssh.                                                           |\n| `OP_SERVICE_ACCOUNT_TOKEN` | 1Password service account token to connect the environment's vault and 1Password secrets                                                                               |\n| `REMOTE_HOST`             | The server ip address                                                                                                                                                  |\n| `REMOTE_TARGET`           | The full path to the production site on the server, e.g `/home/user_name/randallwilk.dev`                                                                              |\n| `REMOTE_USER`             | The linux user that owns the site on the server, e.g `forge`.                                                                                                          |\n| `SSH_KEY`                 | The private ssh key for the linux user that owns the site. Be sure to add the public key to the server in Forge. Note: do **not** add a passphrase to the private key. |\n\n# Credits\n\nThis website was principally designed and developed by [Randall Wilk](https://github.com/rawilk).\n\n# License\n\n- The web application falls under the [MIT License](https://choosealicense.com/licenses/mit/)\n- The content and design are under [exclusive copyright](https://choosealicense.com/no-license/)\n\nIf you'd like to reuse or repost something, feel free to reach out at randall@randallwilk.dev. Please remember that the design is not meant to be forked!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frawilk%2Frandallwilk.dev","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frawilk%2Frandallwilk.dev","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frawilk%2Frandallwilk.dev/lists"}