mirror of
https://github.com/techno-tim/littlelink-server.git
synced 2024-11-22 05:25:13 +01:00
fix(v2): migration fixes
This commit is contained in:
parent
84b1a800c7
commit
4259a4dcaf
@ -1,8 +1,4 @@
|
||||
FROM node:14.17.4-alpine AS node-build
|
||||
RUN apk --no-cache add \
|
||||
gettext \
|
||||
bash
|
||||
|
||||
WORKDIR /usr/src/app
|
||||
COPY package.json ./
|
||||
COPY yarn.lock ./
|
||||
|
50
README.md
50
README.md
@ -5,6 +5,7 @@ It takes the same simple approach to a link page and hosts it within a NodeJS se
|
||||
|
||||
# 🚀 Getting Started
|
||||
|
||||
Check the [config](https://github.com/techno-tim/littlelink-server/blob/master/src/config.js) file for all supports buttons!
|
||||
## Docker
|
||||
|
||||
`docker-compose.yml`
|
||||
@ -27,6 +28,7 @@ services:
|
||||
- AVATAR_ALT=Techno Tim Profile Pic
|
||||
- NAME=TechnoTim
|
||||
- BIO=Hey! Just a place where you can connect with me!
|
||||
- FOOTER=Thanks for stopping by!
|
||||
- GITHUB=https://github.com/timothystewart6
|
||||
- TWITTER=https://twitter.com/TechnoTimLive
|
||||
- INSTAGRAM=https://www.instagram.com/techno.tim
|
||||
@ -35,29 +37,31 @@ services:
|
||||
- DISCORD=https://discord.gg/DJKexrJ
|
||||
- TIKTOK=https://www.tiktok.com/@technotim
|
||||
- KIT=https://kit.co/TechnoTim
|
||||
# - FACEBOOK=https://facebook.com
|
||||
# - FACEBOOK_MESSENGER=https://facebook.com
|
||||
# - LINKED_IN=https://linkedin.com
|
||||
# - PRODUCT_HUNT=https://www.producthunt.com/
|
||||
# - SNAPCHAT=https://www.snapchat.com/
|
||||
# - SPOTIFY=https://www.spotify.com/
|
||||
# - REDDIT=https://www.reddit.com/
|
||||
# - MEDIUM=https://medium.com
|
||||
# - PINTEREST=https://www.pinterest.com/
|
||||
# - EMAIL=you@example.com
|
||||
# - EMAIL_TEXT=Email Me!
|
||||
# - EMAIL_ALT=you@example.com
|
||||
# - EMAIL_ALT_TEXT=Email me!
|
||||
# - SOUND_CLOUD=https://souncloud.com
|
||||
# - FIGMA=https://figma.com
|
||||
# - TELEGRAM=https://telegram.org/
|
||||
# - TUMBLR=https://www.tumblr.com/
|
||||
# - STEAM=https://steamcommunity.com/
|
||||
# - VIMEO=https://vimeo.com/
|
||||
# - WORDPRESS=https://wordpress.com/
|
||||
# - GOODREADS=https://www.goodreads.com/
|
||||
# - SKOOB=https://www.skoob.com.br/
|
||||
- FOOTER=Thanks for stopping by!
|
||||
- FACEBOOK=https://facebook.com
|
||||
- FACEBOOK_MESSENGER=https://facebook.com
|
||||
- LINKED_IN=https://linkedin.com
|
||||
- PRODUCT_HUNT=https://www.producthunt.com/
|
||||
- SNAPCHAT=https://www.snapchat.com/
|
||||
- SPOTIFY=https://www.spotify.com/
|
||||
- REDDIT=https://www.reddit.com/
|
||||
- MEDIUM=https://medium.com
|
||||
- PINTEREST=https://www.pinterest.com/
|
||||
- EMAIL=you@example.com
|
||||
- EMAIL_TEXT=Email Me!
|
||||
- EMAIL_ALT=you@example.com
|
||||
- EMAIL_ALT_TEXT=Email Us!
|
||||
- SOUND_CLOUD=https://souncloud.com
|
||||
- FIGMA=https://figma.com
|
||||
- TELEGRAM=https://telegram.org/
|
||||
- TUMBLR=https://www.tumblr.com/
|
||||
- STEAM=https://steamcommunity.com/
|
||||
- VIMEO=https://vimeo.com/
|
||||
- WORDPRESS=https://wordpress.com/
|
||||
- GOODREADS=https://www.goodreads.com/
|
||||
- SKOOB=https://www.skoob.com.br/
|
||||
- LETTERBOXD=https://letterboxd.com/
|
||||
- MASTODON=https://mastodon.social/
|
||||
- MICRO_BLOG=https://micro.blog/
|
||||
ports:
|
||||
- 8080:3000
|
||||
restart: unless-stopped
|
||||
|
@ -17,14 +17,40 @@ services:
|
||||
- AVATAR_ALT=Techno Tim Profile Pic
|
||||
- NAME=TechnoTim
|
||||
- BIO=Hey! Just a place where you can connect with me!
|
||||
- FOOTER=Thanks for stopping by!
|
||||
- GITHUB=https://github.com/timothystewart6
|
||||
- TWITTER=https://twitter.com/TechnoTimLive
|
||||
- INSTAGRAM=https://www.instagram.com/techno.tim
|
||||
- YOUTUBE=https://www.youtube.com/channel/UCOk-gHyjcWZNj3Br4oxwh0A/
|
||||
- YOUTUBE=https://www.youtube.com/channel/UCOk-gHyjcWZNj3Br4oxwh0A
|
||||
- TWITCH=https://www.twitch.tv/technotim/
|
||||
- DISCORD=https://discord.gg/DJKexrJ
|
||||
- TIKTOK=https://www.tiktok.com/@technotim
|
||||
- KIT=https://kit.co/TechnoTim
|
||||
- FOOTER=Thanks for stopping by!!!
|
||||
- FACEBOOK=https://facebook.com
|
||||
- FACEBOOK_MESSENGER=https://facebook.com
|
||||
- LINKED_IN=https://linkedin.com
|
||||
- PRODUCT_HUNT=https://www.producthunt.com/
|
||||
- SNAPCHAT=https://www.snapchat.com/
|
||||
- SPOTIFY=https://www.spotify.com/
|
||||
- REDDIT=https://www.reddit.com/
|
||||
- MEDIUM=https://medium.com
|
||||
- PINTEREST=https://www.pinterest.com/
|
||||
- EMAIL=you@example.com
|
||||
- EMAIL_TEXT=Email Me!
|
||||
- EMAIL_ALT=you@example.com
|
||||
- EMAIL_ALT_TEXT=Email me!
|
||||
- SOUND_CLOUD=https://souncloud.com
|
||||
- FIGMA=https://figma.com
|
||||
- TELEGRAM=https://telegram.org/
|
||||
- TUMBLR=https://www.tumblr.com/
|
||||
- STEAM=https://steamcommunity.com/
|
||||
- VIMEO=https://vimeo.com/
|
||||
- WORDPRESS=https://wordpress.com/
|
||||
- GOODREADS=https://www.goodreads.com/
|
||||
- SKOOB=https://www.skoob.com.br/
|
||||
- LETTERBOXD=https://letterboxd.com/
|
||||
- MASTODON=https://mastodon.social/
|
||||
- MICRO_BLOG=https://micro.blog/
|
||||
|
||||
ports:
|
||||
- 8080:3000
|
||||
|
@ -29,6 +29,9 @@ import goodreadsLogo from '../../icons/goodreads.svg';
|
||||
import skoobLogo from '../../icons/skoob.svg';
|
||||
import letterboxdLogo from '../../icons/letterboxd.svg';
|
||||
import mastodonLogo from '../../icons/mastodon.svg';
|
||||
import microblogLogo from '../../icons/microblog.svg';
|
||||
import emailLogo from '../../icons/email.svg';
|
||||
import emailAltLogo from '../../icons/email_alt.svg';
|
||||
|
||||
function Home(props) {
|
||||
return (
|
||||
@ -176,6 +179,7 @@ function Home(props) {
|
||||
name="default"
|
||||
href={`mailto:${runtimeConfig.EMAIL}`}
|
||||
displayName={runtimeConfig.EMAIL_TEXT}
|
||||
logo={emailLogo}
|
||||
/>
|
||||
)}
|
||||
|
||||
@ -184,6 +188,7 @@ function Home(props) {
|
||||
name="default"
|
||||
href={`mailto:${runtimeConfig.EMAIL_ALT_TEXT}`}
|
||||
displayName={runtimeConfig.EMAIL_ALT_TEXT}
|
||||
logo={emailAltLogo}
|
||||
/>
|
||||
)}
|
||||
|
||||
@ -277,6 +282,14 @@ function Home(props) {
|
||||
logo={mastodonLogo}
|
||||
/>
|
||||
)}
|
||||
{runtimeConfig.MICRO_BLOG && (
|
||||
<Button
|
||||
name="microblog"
|
||||
href={runtimeConfig.MICRO_BLOG}
|
||||
displayName="Microblog"
|
||||
logo={microblogLogo}
|
||||
/>
|
||||
)}
|
||||
<p id="footer">{runtimeConfig.FOOTER}</p>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -16,7 +16,6 @@ export const runtimeConfig =
|
||||
BIO: window?.env?.BIO,
|
||||
GITHUB: window?.env?.GITHUB,
|
||||
TWITTER: window?.env?.TWITTER,
|
||||
MICRO_BLOG: window?.env?.MICRO_BLOG,
|
||||
INSTAGRAM: window?.env?.INSTAGRAM,
|
||||
FACEBOOK: window?.env?.FACEBOOK,
|
||||
FACEBOOK_MESSENGER: window?.env?.FACEBOOK_MESSENGER,
|
||||
@ -47,6 +46,7 @@ export const runtimeConfig =
|
||||
SKOOB: window?.env?.SKOOB,
|
||||
LETTERBOXD: window?.env?.LETTERBOXD,
|
||||
MASTODON: window?.env?.MASTODON,
|
||||
MICRO_BLOG: window?.env?.MICRO_BLOG,
|
||||
FOOTER: window?.env?.FOOTER,
|
||||
}
|
||||
: {
|
||||
@ -154,6 +154,9 @@ export const runtimeConfig =
|
||||
? process.env.LETTERBOXD
|
||||
: process.env.RAZZLE_LETTERBOXD,
|
||||
MASTODON: nodeIsProduction
|
||||
? process.env.MASTODON
|
||||
: process.env.RAZZLE_MASTODON,
|
||||
MICRO_BLOG: nodeIsProduction
|
||||
? process.env.MICRO_BLOG
|
||||
: process.env.RAZZLE_MICRO_BLOG,
|
||||
FOOTER: nodeIsProduction
|
||||
|
@ -3523,9 +3523,9 @@ ee-first@1.1.1:
|
||||
integrity sha1-WQxhFWsK4vTwJVcyoViyZrxWsh0=
|
||||
|
||||
electron-to-chromium@^1.3.564, electron-to-chromium@^1.3.811:
|
||||
version "1.3.817"
|
||||
resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.3.817.tgz#911b4775b5d9fa0c4729d4694adc81de85d8d8f6"
|
||||
integrity sha512-Vw0Faepf2Id9Kf2e97M/c99qf168xg86JLKDxivvlpBQ9KDtjSeX0v+TiuSE25PqeQfTz+NJs375b64ca3XOIQ==
|
||||
version "1.3.818"
|
||||
resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.3.818.tgz#32ed024fa8316e5d469c96eecbea7d2463d80085"
|
||||
integrity sha512-c/Z9gIr+jDZAR9q+mn40hEc1NharBT+8ejkarjbCDnBNFviI6hvcC5j2ezkAXru//bTnQp5n6iPi0JA83Tla1Q==
|
||||
|
||||
elliptic@^6.5.3:
|
||||
version "6.5.4"
|
||||
|
Loading…
Reference in New Issue
Block a user