Initialer Import der Synology Scripts
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -e
|
||||
|
||||
# Install Node.js and npm (LTS version)
|
||||
echo "Installing Node.js and npm..."
|
||||
curl -fsSL https://deb.nodesource.com/setup_lts.x | sudo -E bash -
|
||||
sudo apt install -y nodejs
|
||||
|
||||
# Verify Node.js and npm installation
|
||||
echo "Verifying Node.js and npm installation..."
|
||||
node -v
|
||||
npm -v
|
||||
|
||||
# Clone the Alfresco Content App repository
|
||||
git clone https://github.com/Alfresco/alfresco-content-app.git
|
||||
cd alfresco-content-app
|
||||
|
||||
# Checkout to the specific version 4.4.1
|
||||
git checkout tags/4.4.1 -b 4.4.1
|
||||
|
||||
# Install project dependencies
|
||||
npm install
|
||||
|
||||
# Build the application for production
|
||||
npm run build
|
||||
Reference in New Issue
Block a user