
Refactor the ngrok server for a React TypeScript project by using an index.js with environment-driven ports and per-branch slack webhooks for public URLs.
Set up forever watch mode on the server to run index.js, verify logs and Slack messages in staging, ignore node_modules with a forever ignore file, and auto-restart on file changes.
Configure nginx proxies for two react apps on separate branches (staging and master), and use the public URL environment variable to build each app with correct root paths.
Learn to run a local ubuntu linux instance in docker as a substitute for a remote server, expose ssh on port 7777, configure router port forwarding, and connect from Bitbucket.
Bitbucket Pipelines brings continuous integration and delivery to Bitbucket Cloud, empowering individuals and teams to build, test, and deploy their code using the Bitbucket cloud!
It's a tool that has saved me an immeasurable amount of time over the years, and it's something I use for almost every repository I have in my BitBucket account.
Before working with pipelines directly, we'll ensure we're all using the same version of Node using nvm.
We'll then create YOUR very first Bitbucket Pipeline, defining a bitbucket-pipelines.yml file.
We'll add complexity to the pipeline, learning how to use SCP (Secure Copy Protocol) and SSH (Secure Shell) within our pipeline.
We'll get even more complex, learning how to use various environments, such as develop, staging, and master branches, in our pipeline.
We'll even learn how to use a Slack messaging bot to send messages during various points during the build!
The course ends with a few goodies and bonuses, like how to get the setup working via an NGINX proxy.
***NOTE: If you do not have an external target server to use, bonus lesson 16 shows you how you can use a local instance of Linux using docker, and how to add a port mapping to your local router so you can access that box from anywhere in the world!