Comments (3)
Maybe try iex -S mix
where the reticulum mix.exs file is.
from reticulum.
Ah, it worked, wonderful, thanks @vincentfretin!
Why though? I had a brief look at iex and mix but don't actually understand.
from reticulum.
This is more or less for the interpreter iex to know where the project files are located. That's the command you use in any phoenix project, I didn't really dig it why.
Here what gpt-4 answers:
In a Phoenix project, the command iex -S mix is used to start the Interactive Elixir (IEx) shell with your application and its dependencies loaded. This command is particularly useful for running your Phoenix application while also having an interactive session that can be used for debugging, running tasks, or directly interacting with your application's code and functions.
Here's a breakdown of the command:
iex: This is the Interactive Elixir shell, allowing you to run Elixir expressions in a REPL (Read-Eval-Print Loop). It's a great tool for testing small snippets of Elixir code, exploring functionalities, and debugging.
-S: This switch tells iex to run a script. In the context of this command, it's used to invoke the mix script, which is Elixir's build tool.
mix: Mix is a build tool that ships with Elixir and provides tasks for creating, compiling, testing your application, managing its dependencies, and much more. It's an essential part of the Elixir ecosystem and is used for project management.
When you run iex -S mix in the context of a Phoenix project, it compiles your project (if necessary), starts the application along with its dependencies, and then launches the IEx shell. This allows you to interact with your running Phoenix application from the IEx prompt. For example, you can query Ecto models, call functions defined in your modules, etc., all while the application is running. It's a powerful feature for development and debugging purposes.
This command is particularly useful because it lets you test changes in real-time, inspect state, and interact with the application's processes. It's a common practice during development to run this command in the terminal to have a live session for experimentation and debugging while developing a Phoenix application.
from reticulum.
Related Issues (20)
- Error while running reticulum on iMac with command iex -S mix phx.server HOT 3
- Running RetWeb.Endpoint terminated Server:exapmle.com:4000 (https)(Plug.Conn.NotSentError) a response was neither set nor sent from the connection HOT 1
- How to receive Email from Live Server HOT 2
- what is "localhost:6000" for ITA SERVER? and How do I resolve postgres error "Missing translation for key: "JWSError JWSInvalidSignature" HOT 3
- CSP ERROR request Spoke from reticulum HOT 1
- "Edit the Dialog configuration file turnserver.conf"
- (Plug.Conn.NotSentError) a response was neither set nor sent from the connection HOT 4
- Server Settings page not working on VPS server HOT 7
- Habitat Plan Issue HOT 8
- Avatars gltf API returns 502
- Hubs client error
- SERVER ALERT: Fatal - Handshake Failure - malformed_handshake_data HOT 4
- Issue on polycosm branch on running local HOT 1
- Media upload (URL link) results in broken media link HOT 6
- failed to start child: Phoenix.PubSub.PG2
- text_chat permission is not enforced server-side
- derik1984
- Suggestion: Better URL resolve error message/log
- Erlang + Elixir version for ARM64 System
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from reticulum.