mr-exz / ics

Elixir api service

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ics

To start your Phoenix server:

  • Install dependencies with mix deps.get
  • Create and migrate your database with mix ecto.setup
  • Install Node.js dependencies with cd assets && npm install
  • Start Phoenix endpoint with mix phx.server

Now you can visit localhost:4000 from your browser.

Ready to run in production? Please check our deployment guides.

Learn more

cd /opt/ics
mix archive.install hex phx_new 1.4.11
Then configure your database in config/dev.exs and run:

    $ mix ecto.create
Start your Phoenix app with:

    $ mix phx.server
Fetch and install dependencies? [Yn] Y
* running mix deps.get
* running mix deps.compile
* running cd assets && npm install && node node_modules/webpack/bin/webpack.js --mode development

We are almost there! The following steps are missing:

    $ cd hello

Then configure your database in config/dev.exs and run:

    $ mix ecto.create

Start your Phoenix app with:

    $ mix phx.server

You can also run your app inside IEx (Interactive Elixir) as:

    $ iex -S mix phx.server

About

Elixir api service


Languages

Language:Elixir 60.3%Language:CSS 23.9%Language:JavaScript 8.4%Language:HTML 5.3%Language:Ruby 1.5%Language:Makefile 0.7%