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

Windows Installation improvements #9

Closed
Difegue opened this issue Dec 24, 2017 · 3 comments
Closed

Windows Installation improvements #9

Difegue opened this issue Dec 24, 2017 · 3 comments

Comments

@Difegue
Copy link
Owner

Difegue commented Dec 24, 2017

The WSL will support background tasks starting with the next major Win10 update, so it might be worth promoting the WSL install from "you can do this for shits and giggles" to "viable alternative to Docker".

@Difegue Difegue added this to the Production Improvements milestone Dec 24, 2017
@Difegue Difegue changed the title WSL improvements WSL and global Installation improvements Feb 24, 2018
@Difegue Difegue modified the milestones: Production Improvements, 0.5.1 Feb 24, 2018
@Difegue Difegue changed the title WSL and global Installation improvements Installation improvements Feb 24, 2018
@Difegue
Copy link
Owner Author

Difegue commented Feb 25, 2018

Renaming this to fit a larger overall theme - Installation on Windows.

While there's been pretty good progress in terms of making LRR easier to install(by notably ditching Apache and introducing an installer script for dependencies), we're still a bit lacking on the Windows side.

Docker is a good silver bullet, but it is unsupported on Win7/Win8. (Vagrant works for those!)
The WSL hybrid setup works and is great for development (I use it all the time), much less for regular usage.
Native Windows works, but is a painful slog of installing a bunch of .MSIs.

Alongside fully retesting WSL installs once the next Win10 update drops, a bare-bones Installer for the native Windows version would be a good addition here.

@Difegue Difegue changed the title Installation improvements Windows Installation improvements Feb 25, 2018
@Difegue Difegue modified the milestones: 0.5.5, 0.6 Mar 21, 2018
@Difegue
Copy link
Owner Author

Difegue commented Apr 2, 2018

Been thinking about this today, current plan is :

  • Bundle Redis for Windows, unar/lsar, a LANraragi install and berrybrew in the folder to be installed
  • The LRR install will have its javascript dependencies pre-installed.
  • Starting up LANraragi through this install will be handled by a basic batch(maybe PowerShell? maybe even a quick WinForms GUI? skys the limit here) script.
  • Said script will automatically download/install a portable version of Perl through berrybrew alongside server-side dependencies
  • Once this Perl version is installed, subsequent runs of the script will just launch a Redis instance and perl ./script/lanraragi daemon to start a Mojolicious server.

The reason I'm going with the berrybrew method is that Strawberry Perl weighs a healthy 140MBs compressed, and it's unreasonable to bundle it with every version when people can just reuse the one they already downloaded the first time.
If we omit Perl, everything else weighs around 15MBs compressed, which is a huge difference!

The script will be wrapped in a .exe file, so all end-users will have to do to run LRR on Windows is open one(1) executable after installation is complete. Sounds easy enough to me.

@Difegue
Copy link
Owner Author

Difegue commented Apr 29, 2018

Only took about 4 months, but I think the current system is good.

Expect a nice Windows-ready .zip for 0.5.2.

@Difegue Difegue closed this as completed Apr 29, 2018
Difegue pushed a commit that referenced this issue Mar 27, 2024
* Implement Pixiv Metadata download by Illustration ID (#1)

* add metadata by pixiv illustration id

* add metadata from archive title

* add en tags, illust id capture

* support translated tags

* add default user agent

* clean up

* streamline illust metadata logic

* add manga specific metadata

* readme

* fix seriesNavData null bug

* demote logs

* sanitize tags correct url embed

* modify tag sanitize logic

* strong pattern matching

* documentation, increase cooldown

* log clean

* remove prefix requirement

* fix regex and uninitialized bugs

* address perlcritic warning

* implement dom-based content extraction

* dto and getters

* fix

* fix

* fix

* add some null validation

* add pixiv tests (#6)

* add pixiv tests

* add pixiv to module tests

* pass github actions (#7)

fix tests so they pass

* fix hashdata tags

* add refactor and tests (#9)

* add refactor and tests

* fix pixiv tests

* clean

* add pixiv namespace (#11)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant