DaisyUIでデコったPhoenixアプリをFly.ioにデプロイして楽しむ(2022年)

This page summarizes the projects mentioned and recommended in the original post on dev.to

Our great sponsors
  • Appwrite - The Open Source Firebase alternative introduces iOS support
  • SonarQube - Static code analysis for 29 languages.
  • Scout APM - Less time debugging, more time building
  • hello_phx_daisyui_flyio

    cd path/to/your/workspace git clone https://github.com/mnishiguchi/hello_phx_daisyui_flyio cd hello_phx_daisyui_flyio

  • Tailwind CSS

    A utility-first CSS framework for rapid UI development.

  • Appwrite

    Appwrite - The Open Source Firebase alternative introduces iOS support . Appwrite is an open source backend server that helps you build native iOS applications much faster with realtime APIs for authentication, databases, files storage, cloud functions and much more!

  • flyctl

    Command line tools for fly.io services

    ❯ fly launch Creating app in /Users/mnishiguchi/src/hello_phx_flyio Scanning source code Detected a Phoenix app ? App Name (leave blank to use an auto-generated name): mnishiguchi-test-1 Automatically selected personal organization: Masatoshi Nishiguchi ? Select region: iad (Ashburn, Virginia (US)) Created app mnishiguchi-test-1 in organization personal Set secrets on mnishiguchi-test-1: SECRET_KEY_BASE Preparing system for Elixir builds Installing application dependencies Running Docker release generator Wrote config file fly.toml ? Would you like to setup a Postgresql database now? Yes For pricing information visit: https://fly.io/docs/about/pricing/#postgresql-clusters ? Select configuration: Development - Single node, 1x shared CPU, 256MB RAM, 1GB disk Creating postgres cluster mnishiguchi-test-1-db in organization personal Postgres cluster mnishiguchi-test-1-db created Username: postgres Password: 1659337b1f06452fdb592b84db7d015bf41bcfa76d9a46de Hostname: mnishiguchi-test-1-db.internal Proxy Port: 5432 PG Port: 5433 Save your credentials in a secure place, you won't be able to see them again! Monitoring Deployment 1 desired, 1 placed, 1 healthy, 0 unhealthy [health checks: 3 total, 3 passing] --> v0 deployed successfully Connect to postgres Any app within the personal organization can connect to postgres using the above credentials and the hostname "mnishiguchi-test-1-db.internal." For example: postgres://postgres:[email protected]t-1-db.internal:5432 See the postgres docs for more information on next steps, managing postgres, connecting from outside fly: https://fly.io/docs/reference/postgres/ Postgres cluster mnishiguchi-test-1-db is now attached to mnishiguchi-test-1 The following secret was added to mnishiguchi-test-1: DATABASE_URL=postgres://mnishiguchi_test_1:[email protected]:5432/mnishiguchi_test_1 Postgres cluster mnishiguchi-test-1-db is now attached to mnishiguchi-test-1 ? Would you like to deploy now? No Your Phoenix app should be ready for deployment!. If you need something else, post on our community forum at https://community.fly.io. When you're ready to deploy, use 'fly deploy --remote-only'.

  • daisyui

    ⭐️ ⭐️ ⭐️ ⭐️ ⭐️  The most popular, free and open-source Tailwind CSS component library

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts