This is an automated email from the ASF dual-hosted git repository.
rohit pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cloudstack-primate.git
The following commit(s) were added to refs/heads/master by this push:
new 6c62c61 README: add packaging/build instructions
6c62c61 is described below
commit 6c62c61c0877558b4415c5f17774c59facee26ca
Author: Rohit Yadav <[email protected]>
AuthorDate: Tue Nov 17 18:19:22 2020 +0530
README: add packaging/build instructions
Signed-off-by: Rohit Yadav <[email protected]>
---
README.md | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/README.md b/README.md
index f1bbc42..a404d06 100644
--- a/README.md
+++ b/README.md
@@ -120,6 +120,20 @@ Run Primate:
docker run -ti --rm -p 8080:80 -v $(pwd)/nginx:/etc/nginx/conf.d:ro
cloudstack-primate:latest
+### Packaging
+
+The following is tested to work on any Ubuntu 18.04/20.04 base installation or
+docker container:
+
+ # Install nodejs (lts)
+ curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash -
+ sudo apt-get install -y nodejs debhelper rpm
+ # Install build tools
+ npm install -g @vue/cli webpack eslint
+ # Clone this repository and run package.sh
+ cd <cloned-repository>/packaging
+ bash -x package.sh
+
## Documentation
- VueJS Guide: https://vuejs.org/v2/guide/