question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Create a installation script

See original GitHub issue

It would be nice to have a installation script that users – especially those completely new to Node.js – can use to quickly get up and running.

Example:

curl -o- https://github.com/NuSkooler/enigma-bbs/misc/install.sh | bash

(Note: Just an example! The above does not currently exist!)

The script should try to work on most popular *nix environments. Windows will require something else…

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:24 (12 by maintainers)

github_iconTop GitHub Comments

1reaction
davestephenscommented, Aug 15, 2016

I guess we need to decide how far the script should go with helping out a newbie getting their system up to scratch. All popular *nix distributions will have Python installed by default, as well as all the usual bins you need like grep, which, etc which are “just there”. I’d argue that if you were tinkering with BSD then you’re a bit beyond a newbie and just saying “hey, you’re missing abc package” and exiting is enough.

So here’s an overview:

  • Check Python, git, curl etc, exit with a hint to fix if not available
  • Check for / install nvm
  • Install Node 4.4.x
  • Get Enigma
  • nvm install
  • Run config generator

…anything obvious I’m missing here?

On 16 August 2016 at 00:30, Bryan Ashby notifications@github.com wrote:

Ah you’re right, Python is required for node-gyp https://github.com/nwjs/nw-gyp, which is what builds the sqlite3 binary.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/NuSkooler/enigma-bbs/issues/44#issuecomment-239959832, or mute the thread https://github.com/notifications/unsubscribe-auth/AAozMDC30agCaJDPAMNQ8xy0VCafOcG5ks5qgPaZgaJpZM4HHFBC .

1reaction
davestephenscommented, Aug 15, 2016

I’m gonna have a stab at this, I was thinking about doing it anyway just so I can reinstall if/when my Pi dies…

Read more comments on GitHub >

github_iconTop Results From Across the Web

Creating Installation Scripts
Creating Installation Scripts. This section discusses optional package installation scripts. The pkgadd command automatically performs all the actions ...
Read more >
Use a script to install a desktop app in provisioning packages
In this article. Assemble the application assets; Cab the application assets; Create the script to install the application; Related articles.
Read more >
How to make your own Ubuntu post-installation script
Running the script​​ Step 1: Place the script into the home directory of any new Ubuntu installation. Step 2: Open up a terminal...
Read more >
How do I write a shell script to install a list of applications?
Just create a list of apps in a file, example.list, and run ... Then I should make the above script executable chmod +x...
Read more >
Create a Script
To create an installation script and install products on the local machine, specify the -writeScript parameter on the command. · To create an...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found