GithubHelp home page GithubHelp logo

goupilapps / simple-web-app-using-fly Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ivanmoore/simple-web-app-using-fly

0.0 0.0 0.0 71 KB

License: MIT License

Shell 2.80% Java 93.68% Dockerfile 3.52%

simple-web-app-using-fly's Introduction

For this lab we will use https://fly.io/

  1. Sign up for an account
  2. It tells you to add a payment method - I will give you details
  3. Open your email to verify your email for fly

install fly

First, check to see whether you have the "fly" CLI already installed.

If executing this:

flyctl

prints something like this (truncated here):

This is flyctl, the Fly.io command line interface.

Usage:
  flyctl [flags]
  flyctl [command]
...

then the "fly" CLI is already installed.

Otherwise:

brew install flyctl

login to fly

fly auth login

initial deployment to fly

fly launch

Answer the questions as below:

Would you like to copy its configuration to the new app? (y/N)
y

Do you want to tweak these settings before proceeding? (y/N)
n

deploy to fly

fly deploy

debug running app

fly logs

build docker image

docker build -t simple-web-app-using-fly .

run docker container based on that image

docker run -p 8123:8123 simple-web-app-using-fly

Then view http://localhost:8123/

cleanup

docker container prune -f

CI/CD

from: https://fly.io/docs/app-guides/continuous-deployment-with-github-actions/

fly tokens create deploy -x 999999h

simple-web-app-using-fly's People

Contributors

ivanmoore avatar dimosiaris 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.