Re: Where can I deploy a Nim web application? Is there a "NimAnywhere" yet?

2020-04-13 Thread JohnAD
@dom96 True. I run docker-compose for consistency and separation mostly. **consistency** It almost guarantees that the instance on my local laptop will be truly replicated on any instance I run on the cloud. My nginx configs always includes `*.localtest.me` support. Basically, I can test the

Re: Where can I deploy a Nim web application? Is there a "NimAnywhere" yet?

2020-04-13 Thread dom96
> I thought Digital Ocean wouldn't have been an option with Nim, but Docker > seems to make it possible... You don't need Docker to run Nim on Digital Ocean (or any VPS/server hosting provider). You've got a whole Linux machine to do with what you wish. Most of the time Docker is overkill.

Re: Where can I deploy a Nim web application? Is there a "NimAnywhere" yet?

2020-04-13 Thread juancarlospaco
I think is kinda the reverse, Nim may run everywhere that can barely run C or JS. :)

Re: Where can I deploy a Nim web application? Is there a "NimAnywhere" yet?

2020-04-12 Thread adnan
Please consider talking about hosting in your web dev tutorial series as well.

Re: Where can I deploy a Nim web application? Is there a "NimAnywhere" yet?

2020-04-12 Thread epipho
You can also run a Nim backend on AWS Lambda. I wrote a Serverless Framework plugin for that purpose here [https://github.com/epiphone/serverless-nim](https://github.com/epiphone/serverless-nim) (pardon the plug!).

Re: Where can I deploy a Nim web application? Is there a "NimAnywhere" yet?

2020-04-11 Thread tedlavarias
Wow! Thanks for the detailed response! I'll definitely look into it! I thought Digital Ocean wouldn't have been an option with Nim, but Docker seems to make it possible... That seems to be a pattern I've been noticing when trying to research this topic in particular...

Re: Where can I deploy a Nim web application? Is there a "NimAnywhere" yet?

2020-04-11 Thread JohnAD
Myself, I use Digital Ocean for hosting, using docker-compose. I keep the source code (w/o credentials) for each site on separate private repos and put the results on a separate repo for the docker instance. Essentially, each website is compiled with C. I write a move.sh bash script to move onl

Re: Where can I deploy a Nim web application? Is there a "NimAnywhere" yet?

2020-04-11 Thread tedlavarias
Found this in the "Curated Packages" list for Nim: [https://github.com/planety/prologue](https://github.com/planety/prologue) Has anybody here used Prologue? How does it compare to Jester?

Re: Where can I deploy a Nim web application? Is there a "NimAnywhere" yet?

2020-04-10 Thread tedlavarias
For future reference, here's a link to the Heroku buildpack for Nim: [https://elements.heroku.com/buildpacks/vic/heroku-buildpack-nim](https://elements.heroku.com/buildpacks/vic/heroku-buildpack-nim) Haven't tested it yet

Re: Where can I deploy a Nim web application? Is there a "NimAnywhere" yet?

2020-04-10 Thread tedlavarias
For future reference, here's a link to the Heroku buildpack for Nim: [https://elements.heroku.com/buildpacks/vic/heroku-buildpack-nim](https://elements.heroku.com/buildpacks/vic/heroku-buildpack-nim) Haven't tested it yet

Re: Where can I deploy a Nim web application? Is there a "NimAnywhere" yet?

2020-04-10 Thread tedlavarias
Thanks for the reply! I've looked at Jester so far, but not Karax yet. I'll keep in mind what you're saying about Karax though when I'm looking at it!

Re: Where can I deploy a Nim web application? Is there a "NimAnywhere" yet?

2020-04-09 Thread tedlavarias
Thanks! I'll look into it!

Re: Where can I deploy a Nim web application? Is there a "NimAnywhere" yet?

2020-04-09 Thread enthus1ast
i usualy got for * nginx as reverse proxy * "nim-templates" whith plain asynchttpserver with a small "path matching" library, since i find it easier to incoperate asynchttpserver into bigger applications than jester (for example in the past it was not possible to use websocket with jester s

Re: Where can I deploy a Nim web application? Is there a "NimAnywhere" yet?

2020-04-09 Thread moigagoo
For frontend, Karax is the way to go. For backend, there are at least Jester and Rosencrantz. There's no Nim-sponsored hosting solution, you can pick anyone you like. I used to use Zeit when they offered Docker deployments. People say Heroku is nice.s

Where can I deploy a Nim web application? Is there a "NimAnywhere" yet?

2020-04-09 Thread tedlavarias
I've got a few ideas for some web applications that I want to deploy in Nim. How are Nim developers doing it now? Jester? Karax? What about hosting?