Our great sponsors
-
cd path/to/your/workspace git clone https://github.com/mnishiguchi/hello_phx_daisyui_flyio cd hello_phx_daisyui_flyio
-
-
SurveyJS
Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
-
❯ 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:1659337b1f06452fdb592b84db7d015bf41bcfa76d9a46de@mnishiguchi-test-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'.
-