9/20/2023 0 Comments Install phoenix os from ubuntumix ecto.createĬould not find "rebar3", which is needed to build dependency :ranch Then run the command below to create the database for Phoenix.Enter your database password in the configuration below.Next, navigate to your specified directory e.g.You can also run your app inside IEx (Interactive Elixir) as: Then configure your database in config/dev.exs and run: We are almost there! The following steps are missing: * creating demo_app/priv/static/favicon.ico * creating demo_app/priv/static/images/phoenix.png * creating demo_app/priv/static/robots.txt * creating demo_app/assets/css/phoenix.css * creating demo_app/priv/gettext/errors.pot * creating demo_app/priv/gettext/en/LC_MESSAGES/errors.po * creating demo_app/lib/demo_app_web/gettext.ex * creating demo_app/lib/demo_app/mailer.ex * creating demo_app/test/demo_app_web/views/layout_view_test.exs * creating demo_app/lib/demo_app_web/templates/page/ * creating demo_app/lib/demo_app_web/views/layout_view.ex * creating demo_app/lib/demo_app_web/templates/layout/ * creating demo_app/assets/vendor/topbar.js * creating demo_app/test/demo_app_web/views/page_view_test.exs * creating demo_app/test/demo_app_web/controllers/page_controller_test.exs * creating demo_app/lib/demo_app_web/views/page_view.ex * creating demo_app/lib/demo_app_web/controllers/page_controller.ex * creating demo_app/test/support/data_case.ex * creating demo_app/priv/repo/migrations/.formatter.exs * creating demo_app/test/demo_app_web/views/error_view_test.exs * creating demo_app/test/support/conn_case.ex * creating demo_app/lib/demo_app_web/telemetry.ex * creating demo_app/lib/demo_app_web/router.ex * creating demo_app/lib/demo_app_web/endpoint.ex * creating demo_app/lib/demo_app_web/views/error_view.ex * creating demo_app/lib/demo_app_web/views/error_helpers.ex * creating demo_app/lib/demo_app/application.ex Sample output * creating demo_app/config/config.exs Run the command below to create a phoenix application.sudo systemctl restart rvice Create Phoenix application Next, quit the PostgreSQL shell using the following command.After the installation, log in to PostgreSQL.Postgresql-common postgresql-contrib sysstatĠ upgraded, 13 newly installed, 0 to remove and 333 not upgraded.Īfter this operation, 161 MB of additional disk space will be used. Libpq5 libtypes-serialiser-perl postgresql postgresql-14 Postgresql-client-14 postgresql-client-common Libpq5 libtypes-serialiser-perl postgresql-14 Libcommon-sense-perl libjson-perl libjson-xs-perl libllvm14 sudo apt install postgresql postgresql-contrib In case you are using another database add the -database flag when generating a new app.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |