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

Installer fixes #1366

Merged
merged 4 commits into from
Feb 25, 2020
Merged

Installer fixes #1366

merged 4 commits into from
Feb 25, 2020

Conversation

cluckj
Copy link
Contributor

@cluckj cluckj commented Feb 24, 2020

  • Changes the way nodejs/npm are installed: Edison rigs will get it v8 from nodesource (Jessie/Stretch), Pi rigs will get it from the distro (Raspbian Buster)
  • openaps toolchain will be installed from the latest version on git, rather than via pypi.

- Rework nodejs/npm install
- Install openaps toolkit from github
- Ask user to upgrade their Debian Jessie install...
This stores MEDTRONIC_PUMP_ID and MEDTRONIC_FREQUENCY in the user's ~/.bash_profile, so they can run commands without having to manually set them at login time.
@cluckj cluckj marked this pull request as ready for review February 25, 2020 21:26
Copy link
Contributor

@scottleibrand scottleibrand left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One question; otherwise LGTM.

fi

# Upgrade npm to the latest version using its self-updater
sudo npm install npm@latest -g || die "Couldn't update npm"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What version will we end up with on each platform from this?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should install node v8 on the Edison (both Jessie & Stretch), node v8 on Pi's with Stretch, and node v10 on all Pi's with Buster. The version of npm should be the same across all platforms because it uses the self-updater.

@scottleibrand scottleibrand merged commit c37b8c4 into openaps:dev Feb 25, 2020
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

Successfully merging this pull request may close these issues.

2 participants