-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.sh
More file actions
23 lines (19 loc) · 723 Bytes
/
setup.sh
File metadata and controls
23 lines (19 loc) · 723 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/bin/bash
# Setup script for installing the required dependencies to run the MARP tool (https://www.marp.app)
# which are NoodeJS, Google-Chrome and MARP itself.
# Usage: ./setup.sh
# Install NodeJS
curl https://raw.githubusercontent.com/creationix/nvm/master/install.sh | bash
source ~/.nvm/nvm.sh
nvm install --lts
nvm use --lts
npm --version
# Install MARP (on top of NodeJS)
npm install --save-dev @marp-team/marp-cli
npx --version
# Install Google-Chrome (required for the html-rendering)
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
sudo apt -y install ./google-chrome-stable_current_amd64.deb
google-chrome --version
# Make the provided shell scripts executable
chmod +x *.sh