afulki
Host Phoenix on Windows Server
I’ve done quite a bit of googling and I can find plenty on deploying to most operating systems other than Windows, does anyone have any experience of this?
Thanks in advance,
Most Liked
WolfDan
2
OvermindDL1
I happen to do exactly this (for now, we are finally getting a new RedHat server soon though, whoo!).
I build builds with exrm (I hear distillery works on windows now but untested yet, I’m in a crunch too much to test right now) and mount them as a windows process. What do you need help with?
1
afulki
OK, I’m getting somewhere,
←[1m←[36m==> Assembling release..←[0m
←[1m←[36m==> Building release static_blog:1.0.0 using environment prod←[0m
←[1m←[36m==> Including ERTS 8.0 from c:/Program Files/erl8.0/erts-8.0←[0m
←[1m←[36m==> Packaging release..←[0m
←[1m←[32m==> Release successfully built!
You can run it in one of the following ways:
Interactive: _build/prod/rel/static_blog/bin/static_blog.bat console
Foreground: _build/prod/rel/static_blog/bin/static_blog.bat foreground
Daemon: _build/prod/rel/static_blog/bin/static_blog.bat start←[0m
However when I run using the specified command (fixing the slashes),
_build\prod\rel\static_blog\bin\static_blog.bat console
I get:
The system cannot find the batch label specified - pre_start
1
Popular in Questions
Hi,
I have to write a raw query for one of my project. But till now I have used ecto queries and don’t have much experience writing raw ...
New
If I have a post route which an argument:
post /my_post_route/:my_param1, MyController.my_post_handler
How would get the post params ...
New
About me? ( if you have nothing better to do than reading about some random guy in the internet :stuck_out_tongue: )
Hello all, this is ...
New
I have an umbrella app.
Some of the apps inside depend on other apps in the umbrella, unsurprisingly.
I'm writing a test for one of t...
New
I have a relationship of love and hate with Elixir. Lots of things are just absolutely right, but there are some things that are kind of ...
New
When I run the Plug and I recompile I wind up having to use Ctrl C to quit iex and start again. Witht the help of rlwrap I can use the cu...
New
In templates/appointment/index.html.eex:
<%= for appointment <- @appointments do %>
<tr>
<td><%= appoi...
New
I have followed this StackOverflow post to install the specific version of Erlang.
And When I am running mix ecto.setup then getting fol...
New
Credo is smart enough to check for (something like) this:
assert length(the_list) == 0
with this response:
Checking if an enum is empt...
New
I am VERY much an elixir newbie. I have taken one elixir course and one phoenix course on Udemy. During that course, I saw the instructor...
New
Other popular topics
I have a phoenix application from which a user can download multiple(5-6) files of size 1MB. I couldn’t find anything related to sending ...
New
Hi,
I am new to Elixir. I am trying to use the DateTime component to insert a date into MySQL however the there seems to be no way to fo...
New
I am trying to figure out how Mix knows whether the environment is test, dev, or prod -- where is this set?
Thanks.
New
Hey,
Just curious what are the main benefits of Elixir compared to Clojure?
When is Elixir more useful than Clojure and vice versa?
Th...
New
Good day to you all.
I have been struggling to get a query involving like and ilike to work.
Can anyone assist me on this, please?
pro...
New
This release brings a number of exciting features, including integration with the new Phoenix LiveDashboard and Phoenix LiveView. There h...
New
Original source of discussion: This topic on the Pragmatic Programmers' Functional Web Development with Elixir, OTP, and Phoenix forum.
...
New
Please see the new poll here: Which code editor or IDE do you use? (Poll) (2022 Edition)
It’s been a while since we first asked this, I...
New
I am trying to run a deploy with docker and I successfully runned with this command:
docker build -t romenigld/blog-prod .
but when I t...
New
Hi!
Currently I want to submit a form by pressing the Enter key. However, since my input field is of type “textarea” this is just adds a...
New








