Launch you own server at: bitss.cloud
Start at as low as Rs.30 per day and scale as your traffic grows!!
Generating SSH Private & Public Keys:
1. cd ~
2. mkdir sshkeys
3. cd sshkeys
4. ssh-keygen -t rsa
Installing npm:
1. curl o raw.githubusercontent.com/nvm... | bash
-- Start new terminal --
2. nvm install node
Compiling ReactJS/Angular project:
1. npm i
2. npm run build
Copying build files to ROOT directory:
1. cp -rd * ../../ROOT
Commands for "Pre Deploy Hook":
1. cd /var/www/webroot
2. rm -frd source
3. mkdir source
Commands for "Post Deploy Hook":
1. cd /var/www/webroot/source
2. npm i
3. npm run build
4. cd /var/www/webroot/ROOT
5. rm -rfd
6. cp -rd ../source/build/ .
Please Like & Share this video 🙏🙏
Don't forget to subscribe this channel. We'll be sharing many tech videos on regular basis. Thanks!
Негізгі бет Тәжірибелік нұсқаулар және стиль Build & Deploy your ReactJs/Angular project from GitHub to Linux server automatically on Bitss.Cloud
Пікірлер: 2