This repository was archived by the owner on May 7, 2023. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathconfig_sample.php
More file actions
58 lines (52 loc) · 2.52 KB
/
config_sample.php
File metadata and controls
58 lines (52 loc) · 2.52 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
<?php
/**
* Librarian Main Configuration
*/
return [
#########################################################################################
# Librarian site Info
# You should update this accordingly, and/or set up ENV vars with your preferred values.
#########################################################################################
'site_name' => getenv('SITE_NAME') ?: 'Sponsor Underrepresented Open Source Creators',
'site_author' => getenv('SITE_AUTHOR') ?: 'librarian@example.com',
'site_description' => getenv('SITE_DESC') ?: 'A list of underrepresented open source developers who can be sponsored through the GitHub Sponsors Program.',
'site_url' => getenv('SITE_URL') ?: 'http://localhost:8000',
'site_root' => getenv('SITE_ROOT') ?: '/',
'site_about' => getenv('SITE_ABOUT') ?: '_p/about',
'posts_per_page' => 6,
'social_links' => [
'Twitter' => getenv('LINK_TWITTER'),
'Github' => getenv('LINK_GITHUB') ?: 'https://github.com/librarianphp/librarian',
'YouTube' => getenv('LINK_YOUTUBE'),
'LinkedIn' => getenv('LINK_LINKEDIN'),
'Twitch' => getenv('LINK_TWITCH'),
],
'app_debug' => getenv('APP_DEBUG') ?: true,
##########################################################################################
# Dev.to Settings
# Set Up your dev.to username here or via ENV var.
# This is required if you want to import your posts from the dev.to platform.
##########################################################################################
'devto_username' => getenv('DEVTO_USER'),
'devto_datadir' => '_to',
###################################################
# Other Settings
# You shouldn't need to change the next settings,
# but you are free to do so at your own risk.
###################################################
'app_path' => __DIR__ . '/app/Command',
'theme' => 'unicorn',
'templates_path' => __DIR__ . '/app/Resources/themes/portfolio',
'data_path' => __DIR__ . '/app/Resources/data',
'cache_path' => __DIR__ . '/var/cache',
'stencil_dir' => __DIR__ . '/app/Resources/stencil',
'stencil_locations' => [
'post' => __DIR__ . '/app/Resources/data/_p'
],
## WIOS SETTINGS ##
'GITHUB_API_TOKEN' => getenv('GITHUB_API_TOKEN'),
'TWITTER_API_KEY' => getenv('TWITTER_API_KEY'),
'TWITTER_API_SECRET' => getenv('TWITTER_API_SECRET'),
'TWITTER_BEARER_TOKEN' => getenv('TWITTER_TOKEN'),
'profile_dir' => __DIR__ . '/app/Resources/data/profile'
];