Friday, February 4, 2022

How To Deploy Aurelia JS Framework On Rocky Linux 8.5

 in This Tutorial you will Learn " How To Deploy Aurelia JS Framework On Rocky Linux 8.5"       
Aurelia is a modern, open source UI framework for web and mobile app development.
Homepage - https://aurelia.io/home
_________________________________________________________________________________________
Server - Os:  Rocky Linux 8.5  64Bit      | IP -192.168.1.60        |Hostname - server.yourdomain.com
_________________________________________________________________________________________
cat /etc/system-release ; hostname -I ; sestatus ; dnf groupinstall "Development Tools" -y ; dnf module enable nodejs:14 -y ; dnf install nodejs npm -y
npm install -g aurelia-cli
au help
au new my-app
cd my-app
npm install
npm start
http://localhost:8080/

nano /lib/systemd/system/aurelia.service
[Unit]
After=network.target
[Service]
Type=simple
User=root
WorkingDirectory=/root/my-app
ExecStart=/usr/bin/npm start
Restart=on-failure
[Install]
WantedBy=multi-user.target
systemctl daemon-reload ; systemctl start aurelia ; systemctl enable aurelia ; systemctl status aurelia
http://localhost:8080/
________________________________________________________________________________________




No comments:

Post a Comment