Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Proposed link on the front page #2606

andrewsolomon started this conversation in Ideas
Sep 21, 2021 · 3 comments · 19 replies
Discussion options

At a meeting with TPF's marketing team, people floated the idea of putting a link to https://www.perl.org/learn.html on the front page of https://metacpan.org/ in a blurb along the lines of:

“Just getting started with Perl? Click here for free learning resources from the Perl community.”

Would that be ok?

You must be logged in to vote

Replies: 3 comments · 19 replies

Comment options

Sure. I think we could make better use of the space on MetaCPAN and this seems like a good start.

You must be logged in to vote
1 reply
@andrewsolomon
Comment options

Thanks for giving that the go ahead Olaf. Would you mind making that change? I had a look at the code and even tried running it on Docker but realised it will be a while before I get my head around how to make that tweak.

Comment options

Luckily there is no Docker required: https://github.com/metacpan/metacpan-web#installing-manually

Templates are at https://github.com/metacpan/metacpan-web/tree/master/root

You must be logged in to vote
14 replies
@PaulGWebster
Comment options

Ah was unsure! I am not up on all the latest UI trends so I assumed it was so it would stand out more as a link :) let me change it

@PaulGWebster
Comment options

did not see a point of reposting basically the same screenshot etc, so I removed the [ ] in the previous diff

@PaulGWebster
Comment options

so yes, I can post it as an untested pr (due to issues mentioned at the start of this thread) or just leave it as diffs in this thread or if you have any idea how to get either the docker or local build working I can test it then raise it as a tested PR, what would you like me to do :)

@davorg
Comment options

Can you push your changes to a GitHub repo (under your account, I guess). I'll download it and try to get it working (probably later this evening).

@PaulGWebster
Comment options

sure thing here you are https://github.com/OpusVL/metacpan-web

Comment options

➜ metacpan-web git:(master) ✗ carton install
➜ metacpan-web git:(master) ✗ yarn install
00h00m00s 0/0: : ERROR: [Errno 2] No such file or directory: 'install'

$ yarn install
yarn install v1.22.11
[1/4] 🔍  Resolving packages...
[2/4] 🚚  Fetching packages...
[3/4] 🔗  Linking dependencies...
[4/4] 🔨  Building fresh packages...

✨  Done in 8.94s.

@PaulGWebster which version of yarn do you have installed?

You must be logged in to vote
4 replies
@PaulGWebster
Comment options

➜  metacpan-web git:(master) ✗ yarn install
00h00m00s 0/0: : ERROR: [Errno 2] No such file or directory: 'install'
➜  metacpan-web git:(master) ✗ yarn --version
0.32+git
@PaulGWebster
Comment options

I just did 'apt install apt nodejs' let me see if I can get a later version

@PaulGWebster
Comment options

➜  metacpan-web git:(master) ✗ yarn install
yarn install v1.22.5
[1/4] Resolving packages...
success Already up-to-date.

That helped :)

@PaulGWebster
Comment options

Ok dokey I got the non-docker version working, so here is a PR #2607 :)

Please double and triple check this before sending to production! ideally get someone who knows 'less' to check it, it did however add the text you wish in the right place, so ... if not the right 'lessc' command args its very close :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
💡
Ideas
Labels
None yet
4 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.