Skip to content

scribe-security/docs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1,430 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Website B

This website is built using Docusaurus 2, a modern static website generator.

Installation

$ yarn

Local Development

Test

$ yarn start

This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server.

Build

$ yarn build

This command generates static content into the build directory and can be served using any static contents hosting service.

Deployment

Using SSH:

$ USE_SSH=true yarn deploy

Not using SSH:

$ GIT_USER=<Your GitHub username> yarn deploy

If you are using GitHub pages for hosting, this command is a convenient way to build the website and push to the gh-pages branch.

DEV

  • Branch dev is deployed (updated on each push). Access it by dev--<docs_domain>.com Each PR opens a preview site.
  • https://deploy-preview-<PR NUMBER>--<docs_domain>.com
  • Branch dev will include the entire site.
  • Master will include only the public site. (See docusaurus.config.js for full list).
  • PR preview - will show preview will deploy only the public part.
  • PR including dev-preview prefix will show the preview of the entire site.

Git flow - New feature

  1. New feature
    Create new feature from latest dev.
bash git-flow/checkout_feature.sh <feature_name>

If feature already exists - jump to (6)

  1. Add changes
    Add changes to feature
git add ...
git commit -m ...

vscode

  • select Source > control on Left Bar
  • select Source control on Left Bar
  • press Plus sign next to files modified.
  • Enter commit message
  • Select commit
  1. Push feature to remote
bash git-flow/publish_feature.sh <feature_name>

Publishing feature with out a PR will not create a dev-preview site for feature.

  1. New PR
    Create PR on github or vscode plugin from feature branch to dev.

vscode

  • select Github extension on Left Bar
  • Select Create Pull request
  • Change Into branch to dev
  • Add discription
  • Select Create
  1. Add reviewers, comments, reviews - Web based interaction with reviewers.

  2. PR update
    Fixs to PR if needed.

Move to feature branch first - If currently checkout out another feature please first commit current changes (you don't have to publish if you don't want to change remote). \

Run

bash git-flow/checkout_feature.sh <feature_name>

Add Needed changes to PR

git add ...
git commit -m ...

vscode

  • select Source > control on Left Bar
  • select Source control on Left Bar
  • press Plus sign next to files modified.
  • Enter commit message
  • Select commit
  1. Republish feature (will update the PR)
bash git-flow/publish_feature.sh <feature_name>

7.1) Back to comments and reviews -> (5)

  1. PR is approved - select sqaush merge PR Note: Make sure you only push feature branchs to dev.

Dev was updated while working on feature branch

Note: if don't need the updates in your feature branch you don't need to do this!

  1. rebase from dev bash git-flow/refresh_feature.sh <feature_name> Rebasing dev may require to solve some conflicts if updated dev files are also changed in the feature branch.
  2. Force publish feature branch git push -f origin dev-preview/<feature_name>

Sub-Invictus-bi

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors