archnews-webhooks

所属分类:构建工具
开发工具:PHP
文件大小:0KB
下载次数:0
上传日期:2023-02-01 20:07:33
上 传 者sh-1993
说明:  这是一项服务,让您随时了解最新的Arch Linux Discord and Slack新闻。
(A service to keep you updated with the latest Arch Linux News on Discord and Slack.)

文件列表:
.editorconfig (220, 2020-06-04)
.env.example (778, 2020-06-04)
.idea/ (0, 2020-06-04)
.idea/archnews.iml (7766, 2020-06-04)
.idea/misc.xml (174, 2020-06-04)
.idea/modules.xml (268, 2020-06-04)
.idea/php.xml (6585, 2020-06-04)
.idea/vcs.xml (180, 2020-06-04)
.idea/workspace.xml (10050, 2020-06-04)
.styleci.yml (174, 2020-06-04)
app/ (0, 2020-06-04)
app/Console/ (0, 2020-06-04)
app/Console/Kernel.php (2011, 2020-06-04)
app/Exceptions/ (0, 2020-06-04)
app/Exceptions/Handler.php (1141, 2020-06-04)
app/Http/ (0, 2020-06-04)
app/Http/Controllers/ (0, 2020-06-04)
app/Http/Controllers/Controller.php (361, 2020-06-04)
app/Http/Controllers/WebhookController.php (1853, 2020-06-04)
app/Http/Kernel.php (2466, 2020-06-04)
app/Http/Middleware/ (0, 2020-06-04)
app/Http/Middleware/Authenticate.php (469, 2020-06-04)
app/Http/Middleware/CheckForMaintenanceMode.php (335, 2020-06-04)
app/Http/Middleware/EncryptCookies.php (294, 2020-06-04)
app/Http/Middleware/RedirectIfAuthenticated.php (582, 2020-06-04)
app/Http/Middleware/TrimStrings.php (340, 2020-06-04)
app/Http/Middleware/TrustHosts.php (354, 2020-06-04)
app/Http/Middleware/TrustProxies.php (441, 2020-06-04)
app/Http/Middleware/VerifyCsrfToken.php (307, 2020-06-04)
app/Providers/ (0, 2020-06-04)
app/Providers/AppServiceProvider.php (473, 2020-06-04)
app/Providers/AuthServiceProvider.php (578, 2020-06-04)
app/Providers/BroadcastServiceProvider.php (380, 2020-06-04)
app/Providers/EventServiceProvider.php (710, 2020-06-04)
app/Providers/RouteServiceProvider.php (1658, 2020-06-04)
app/RSSFeed.php (1583, 2020-06-04)
app/Webhook.php (3157, 2020-06-04)
... ...

# About After looking for an easy integration with Discord the only viable option that I found was IFTTT service. So, I figured this would be a fun project to play with and make keeping track of Arch News easier with no setup at all. Just paste your webhook and that's it! # Setup If you want to run this on your own here is what you will need: - PHP 7.2.5 with the following extensions: openssl, PDO, mbstring, tokenizer, bcmath, xml, curl, and fpm if you are planning to use NGINX. - Git - Composer - MySQL 5.7 or MariaDB 10.1.3 or higher - A webserver (Apache, NGINX, etc.) 1.Clone the repository `git clone https://github.com/Ivstiv/archnews-webhooks.git && cd archnews-webhooks` 2.Install the dependencies `composer install --optimize-autoloader --no-dev` 3.Configure your .env file `cp .env.example .env` 4.Edit the following entries (You need to have a database and user already!) ``` APP_ENV=production APP_DEBUG=false APP_URL DB_HOST DB_DATABASE DB_USERNAME DB_PASSWORD ``` 5.Generate a key (run this only if you are installing it for first time) `php artisan key:generate --force` 6.Migrate the database `php artisan migrate --seed` 7.Set permissions ``` chmod -R 755 storage/* bootstrap/cache/ # If using NGINX or Apache (not on CentOS): chown -R www-data:www-data * # If using NGINX on CentOS: chown -R nginx:nginx * # If using Apache on CentOS chown -R apache:apache * ``` 8.Cache some of the files to load faster ``` php artisan config:cache php artisan view:cache ``` 9.Crontab configuration (`sudo crontab -e`). Just substitute accordingly. `* * * * * php /artisan schedule:run >> /dev/null 2>&1` # Contact and contribution If you have issues, ideas or want to contribute you can [join my discord server](https://discord.gg/VMSDGVD) to have a chat. The design of the database and the model relationships make it easy to integrate more RSS Feeds so if you want me to add another one just send me a message.

近期下载者

相关文件


收藏者