Skip to content
This repository was archived by the owner on Oct 30, 2023. It is now read-only.

Commit 20e8d11

Browse files
authored
Merge pull request #664 from FlowzPlatform/QA
Qa
2 parents 869bf71 + 750c4c7 commit 20e8d11

33 files changed

+17130
-10105
lines changed

README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
# Flowz Website Builder [![Build Status](https://travis-ci.org/FlowzPlatform/website-builder.svg?branch=master)](https://travis-ci.org/FlowzPlatform/website-builder) [![Dependencies Status](https://david-dm.org/FlowzPlatform/website-builder.svg)](https://david-dm.org/FlowzPlatform/website-builder.svg) [![contributions welcome](https://img.shields.io/badge/contributions-welcome-brightgreen.svg?style=flat)](https://github.com/FlowzPlatform/website-builder/issues) [![HitCount](http://hits.dwyl.io/FlowzPlatform/website-builder.svg)](http://hits.dwyl.io/FlowzPlatform/website-builder)
22

3-
43
> A Vue.js project using [GrapesJS](https://github.com/artf/grapesjs)
54
5+
## Documentation
6+
7+
View overview of Website Builder [here](https://github.com/FlowzPlatform/website-builder/wiki/Overview)
8+
69
## Build Setup
710

811
FlowzBuilder website Guide:
@@ -48,6 +51,8 @@ Start the FlowzServiceApi by npm start
4851

4952
#Changelog
5053
1. Added New Templates
54+
2. Added Jobqueue to publish website using metalsmith
55+
3. User Interface 2.0
5156

5257

5358

finish.sh

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ then
1111
RANCHER_ACCESSKEY="$RANCHER_ACCESSKEY_MASTER";
1212
RANCHER_SECRETKEY="$RANCHER_SECRETKEY_MASTER";
1313
RANCHER_URL="$RANCHER_URL_MASTER";
14+
SERVICE_NAME="$SERVICE_NAME_MASTER";
1415
}
1516
elif [ "$TRAVIS_BRANCH" = "develop" ]
1617
then
@@ -21,6 +22,7 @@ then
2122
RANCHER_ACCESSKEY="$RANCHER_ACCESSKEY_DEVELOP";
2223
RANCHER_SECRETKEY="$RANCHER_SECRETKEY_DEVELOP";
2324
RANCHER_URL="$RANCHER_URL_DEVELOP";
25+
SERVICE_NAME="$SERVICE_NAME_DEVELOP";
2426
}
2527
elif [ "$TRAVIS_BRANCH" = "staging" ]
2628
then
@@ -31,19 +33,21 @@ then
3133
RANCHER_ACCESSKEY="$RANCHER_ACCESSKEY_STAGING";
3234
RANCHER_SECRETKEY="$RANCHER_SECRETKEY_STAGING";
3335
RANCHER_URL="$RANCHER_URL_STAGING";
36+
SERVICE_NAME="$SERVICE_NAME_STAGING";
3437
}
3538
else
3639
{
3740
echo "call $TRAVIS_BRANCH branch"
38-
ENV_ID=`curl -u ""$RANCHER_ACCESSKEY_QA":"$RANCHER_SECRETKEY_QA"" -X GET -H 'Accept: application/json' -H 'Content-Type: application/json' "$RANCHER_URL_QA/v2-beta/projects?name=QA" | jq '.data[].id' | tr -d '"'`
41+
ENV_ID=`curl -u ""$RANCHER_ACCESSKEY_QA":"$RANCHER_SECRETKEY_QA"" -X GET -H 'Accept: application/json' -H 'Content-Type: application/json' "$RANCHER_URL_QA/v2-beta/projects?name=Develop" | jq '.data[].id' | tr -d '"'`
3942
echo $ENV_ID
4043
RANCHER_ACCESSKEY="$RANCHER_ACCESSKEY_QA";
4144
RANCHER_SECRETKEY="$RANCHER_SECRETKEY_QA";
4245
RANCHER_URL="$RANCHER_URL_QA";
46+
SERVICE_NAME="$SERVICE_NAME_QA";
4347
}
4448
fi
4549

46-
SERVICE_ID=`curl -u ""$RANCHER_ACCESSKEY":"$RANCHER_SECRETKEY"" -X GET -H 'Accept: application/json' -H 'Content-Type: application/json' "$RANCHER_URL/v2-beta/projects/$ENV_ID/services?name=web-builder-fronted-flowz" | jq '.data[].id' | tr -d '"'`
50+
SERVICE_ID=`curl -u ""$RANCHER_ACCESSKEY":"$RANCHER_SECRETKEY"" -X GET -H 'Accept: application/json' -H 'Content-Type: application/json' "$RANCHER_URL/v2-beta/projects/$ENV_ID/services?name=$SERVICE_NAME" | jq '.data[].id' | tr -d '"'`
4751
echo $SERVICE_ID
4852

4953
echo "waiting for service to upgrade "

index.html

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@
3636

3737
<!-- Grapes JS Component -->
3838
<link rel="stylesheet" type="text/css" href="./static/css/custom-components-for-grapes.min.css">
39+
3940
<!-- <link rel="stylesheet" type="text/css" href="./static/css/grapes.min.css"> -->
4041
<!-- <script type="text/javascript" src="./static/grapes.min.js"></script> -->
4142
<link href="https://cdnjs.cloudflare.com/ajax/libs/grapesjs/0.14.6/css/grapes.min.css" rel="stylesheet">
@@ -68,9 +69,10 @@
6869

6970
<!-- Custom Components for Grapes Editor -->
7071
<script type="text/javascript" src="./static/js/product-plugin.js"></script>
72+
<script type="text/javascript" src="./static/js/datafield-components.js"></script>
7173
<script type="text/javascript" src="./static/js/globalVariablesComponent.js"></script>
72-
<script type="text/javascript" src="https://res.cloudinary.com/flowz/raw/upload/v1522733776/builder/js/flowz-blocks.js"></script>
73-
<!-- <script src="./static/js/flowz-blocks.js"></script> -->
74+
<!-- <script type="text/javascript" src="https://res.cloudinary.com/flowz/raw/upload/v1522733776/builder/js/flowz-blocks.js"></script> -->
75+
<script src="./static/js/flowz-blocks.js"></script>
7476
<!-- <script src="https://cdnjs.cloudflare.com/ajax/libs/ckeditor/4.7.3/ckeditor.js"></script>
7577
<script src="./static/js/grapesjs-plugin-ckeditor.min.js"></script> -->
7678

0 commit comments

Comments
 (0)