GithubHelp home page GithubHelp logo

rhysonlin / vibe-website Goto Github PK

View Code? Open in Web Editor NEW

This project forked from lisa-yun/vibe-website

0.0 0.0 0.0 61.17 MB

Source that generates https://vibe.us

JavaScript 21.35% HTML 35.16% Python 4.19% Sass 39.30%

vibe-website's Introduction

Vibe Website

This repo generates files for static hosted website: https://vibe.us.

How to deploy (for devs)

Beta environment

Commits to master branch automatically deploys to https://vibe-beta.com.

To deploy your own branch to https://vibe-beta.com, use command below. Note since we only have one beta environment, it is possible someone deploying from Slack app overrides your deployment.

curl -X POST \
https://api.github.com/repos/vibeus/vibe-website/deployments \
-H "Content-Type: application/json" \
-H "Accept: application/vnd.github.v3+json" \
-H "Authorization: token YOUR_PERSONAL_ACCESS_TOKEN" \
-d '{"required_contexts": [], "auto_merge": false, "environment": "staging", "ref": "your_branch_name_or_sha"}'

If you want to reference to a non-master hugo-common branch:

hugo mod get -u github.com/vibeus/hugo-common/v2@your_branch_name_or_sha

Please always point to master hugo-common before merging your branch into master branch.

Prod environment

It's recommended to use Slack app to deploy production, to reduce human errors. See details below.

How to deploy (for non-devs)

Use "Vibe Admin" Slack app, as shown below.

image

Notes:

  1. When task is set to sync-blogs, deployment will fail if blog post contains PNG image that are larger than 3MB. Either reduce the image size (e.g. use smaller size, or convert it to JPG), or contact @jiulongw to override this limit.
  2. If sync-blogs or sync-videos was used to deploy to staging, there is no need to add them in production deployment after validating in the beta environment.

vibe-website's People

Contributors

jiulongw avatar scotthazi avatar codzr avatar vibe-admin[bot] avatar xeeeeiii avatar tanya-2020 avatar lreigel avatar kinkin3449 avatar kaishen1231 avatar msnyder-vibe avatar shiningsword avatar rhysonlin avatar lisa-yun avatar chuzui avatar dependabot[bot] avatar leah-lijiawei avatar dustin-dg avatar kealto avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.