Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release on CPAN #70

Open
wbraswell opened this issue May 8, 2019 · 2 comments
Open

Release on CPAN #70

wbraswell opened this issue May 8, 2019 · 2 comments

Comments

@wbraswell
Copy link

This issue is a version-neutral continuation of #46

@wbraswell
Copy link
Author

I believe all of the following functionality can (and should) be made available directly via the cpan ShinyCMS or cpanm ShinyCMS commands:

"... 'install wizard' script so that people could install and configure by pasting a one liner into a terminal - something like 'curl -sf https://shinycms.org/install/install.sh | sh' that will install Catalyst etc from CPAN if needed, ask where to put the CMS support files, and then ask questions to populate an initial shinycms.conf for them."
#46 (comment)

The only time I've seen a curl-style "install wizard" script used in Perl is for boostrapping local::lib or Perlbrew, both of which need to be installed before you run the cpan or cpanm commands...

https://github.com/wbraswell/lampuniversity.org/blob/master/bin/LAMP_installer.sh#L1341
'curl -L cpanmin.us | perl - -l $HOME/perl5 App::cpanminus local::lib'

https://github.com/wbraswell/lampuniversity.org/blob/master/bin/LAMP_installer.sh#L1403
'curl -L http://install.perlbrew.pl | bash'

Since Shiny is not a prerequisite for cpan or cpanm themselves, I believe it is considered "best practices" to use CPAN as the primary installation mechanism, with other options such as OS-specific packages and curl-style install wizards used as secondary alternatives.

@wbraswell
Copy link
Author

I know how to make CPAN releases when using ExtUtils::MakeMaker... but we aren't using that for Shiny, are we?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant