1 - Open the file index.html in dev branch
2 - Change the App title in line: 126 to whatever you want.
3 - Instead of commit direct to dev, please click in "Create a new branch for this commit and start a pull request"
4 - Fill the branch name with this name pattern "feature-"
5 - Open a PR to dev using the link below. (dev branch should be selected in the left side as target branch, and your feature branch in the right as source branch)
Wait for the deployment and access your app on http://ff.harness-demo.site/[YourGitUser]/index.html
Go to Harness Cnfluence inside Sales Engineer search for FF Advanced Demo, inside Demo Blocks.
Yuo can find all you need.
Inside Software Delivery Demo Account, go to Banking Demo Project in Deployments.
Run the Onboarding Pipeline passing your github user.
Build and run:
BUILD=230
docker build -t us.gcr.io/playground-243019/cv-demo-ui:$BUILD -f Dockerfile .
docker run -it -p 8000:80 -e STABLE_ENDPOINT=http://localhost:8080 -e CANARY_ENDPOINT=http://127.0.0.1:8081 us.gcr.io/playground-243019/cv-demo-ui:$BUILD
Push:
docker push us.gcr.io/playground-243019/cv-demo-ui:$BUILD
- Fork dev branch
- Click in Settings (inside forked repo)
- In left menu (Code and Automation), click in Pages
- Source: Deploy from branch and Branch: dev , /(root)
- change anything in code (could be add a space in anyfile), and commit to publish the app
- Now you app is acessible from: https://your-git-user.github.io/gitflow-ff-demo/html/index.html
insinde folder flags_json_export, run the script
install dependencies of python3 script:
pip3 install -r flags_json_exports/requirements.txt
export variables where you want to create flags:
export API_KEY="YOUR_API_KEY"
export ACCOUNT_IDENTIFIER="YOUR_ACCOUNT_IDENTIFIER"
export ORG_IDENTIFIER="YOUR_ORG_IDENTIFIER"
export PROJECT_IDENTIFIER="YOUR_PROJECT_IDENTIFIER"
python3 flag_creation.py