public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
* building and runnning trypandoc?
@ 2020-10-21 21:52 MyriaCore
       [not found] ` <a7772d4a-5fd5-4acc-b20c-d10f6d710d87n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  0 siblings, 1 reply; 4+ messages in thread
From: MyriaCore @ 2020-10-21 21:52 UTC (permalink / raw)
  To: pandoc-discuss


[-- Attachment #1.1: Type: text/plain, Size: 931 bytes --]


Hi All,

I'm trying to create a build of the trypandoc site that can render the 
generated HTML on the right, and that uses a specific setup. I'll likely 
have the trypandoc binary running on a heroku, and I'll host the site 
itself through gitlab pages. 

I'm running into a *lot* of CORS errors when testing this, and I actually 
can't find a way to test it without running into CORS errors, actually. I'm 
super new to this, but it looks like ngrok or something similar was used to 
create the site. 

Any pointers?

-- 
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/a7772d4a-5fd5-4acc-b20c-d10f6d710d87n%40googlegroups.com.

[-- Attachment #1.2: Type: text/html, Size: 1317 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: building and runnning trypandoc?
       [not found] ` <a7772d4a-5fd5-4acc-b20c-d10f6d710d87n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
@ 2020-10-21 23:04   ` John MacFarlane
       [not found]     ` <m2eelrrxjj.fsf-pgq/RBwaQ+zq8tPRBa0AtqxOck334EZe@public.gmane.org>
  0 siblings, 1 reply; 4+ messages in thread
From: John MacFarlane @ 2020-10-21 23:04 UTC (permalink / raw)
  To: MyriaCore, pandoc-discuss


I'm sorry, I don't know what you mean by CORS errors.
No, ngrok wasn't used (whatever that is).

Try this:

stack install --flag pandoc:trypandoc --flag pandoc:embed_data_files --copy-bins


MyriaCore <me-iMRNxolsNr8QFTY0IWPKwg@public.gmane.org> writes:

> Hi All,
>
> I'm trying to create a build of the trypandoc site that can render the 
> generated HTML on the right, and that uses a specific setup. I'll likely 
> have the trypandoc binary running on a heroku, and I'll host the site 
> itself through gitlab pages. 
>
> I'm running into a *lot* of CORS errors when testing this, and I actually 
> can't find a way to test it without running into CORS errors, actually. I'm 
> super new to this, but it looks like ngrok or something similar was used to 
> create the site. 
>
> Any pointers?
>
> -- 
> You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/a7772d4a-5fd5-4acc-b20c-d10f6d710d87n%40googlegroups.com.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: building and runnning trypandoc?
       [not found]     ` <m2eelrrxjj.fsf-pgq/RBwaQ+zq8tPRBa0AtqxOck334EZe@public.gmane.org>
@ 2020-10-23  4:41       ` MyriaCore
       [not found]         ` <1ca4d874-b5bf-444d-ac0b-bb81a0c93eb9n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  0 siblings, 1 reply; 4+ messages in thread
From: MyriaCore @ 2020-10-23  4:41 UTC (permalink / raw)
  To: pandoc-discuss


[-- Attachment #1.1: Type: text/plain, Size: 2171 bytes --]

Yeah, my question was kinda weird and specific. I did end up getting the 
service working by switching over to a full web setup w/ scotty.

The only problem I'm having is that stack takes too long to build the 
library, and my compilation times out on heroku. I feel like this probably 
isn't a thing, but are there pre-compiled versions of the pandoc libraries 
that I could pull from somehow? 

On Wednesday, October 21, 2020 at 7:04:33 PM UTC-4 John MacFarlane wrote:

>
> I'm sorry, I don't know what you mean by CORS errors.
> No, ngrok wasn't used (whatever that is).
>
> Try this:
>
> stack install --flag pandoc:trypandoc --flag pandoc:embed_data_files 
> --copy-bins
>
>
> MyriaCore <m...-iMRNxolsNr8QFTY0IWPKwg@public.gmane.org> writes:
>
> > Hi All,
> >
> > I'm trying to create a build of the trypandoc site that can render the 
> > generated HTML on the right, and that uses a specific setup. I'll likely 
> > have the trypandoc binary running on a heroku, and I'll host the site 
> > itself through gitlab pages. 
> >
> > I'm running into a *lot* of CORS errors when testing this, and I 
> actually 
> > can't find a way to test it without running into CORS errors, actually. 
> I'm 
> > super new to this, but it looks like ngrok or something similar was used 
> to 
> > create the site. 
> >
> > Any pointers?
> >
> > -- 
> > You received this message because you are subscribed to the Google 
> Groups "pandoc-discuss" group.
> > To unsubscribe from this group and stop receiving emails from it, send 
> an email to pandoc-discus...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> > To view this discussion on the web visit 
> https://groups.google.com/d/msgid/pandoc-discuss/a7772d4a-5fd5-4acc-b20c-d10f6d710d87n%40googlegroups.com
> .
>

-- 
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/1ca4d874-b5bf-444d-ac0b-bb81a0c93eb9n%40googlegroups.com.

[-- Attachment #1.2: Type: text/html, Size: 3313 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: building and runnning trypandoc?
       [not found]         ` <1ca4d874-b5bf-444d-ac0b-bb81a0c93eb9n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
@ 2020-10-23 18:43           ` John MacFarlane
  0 siblings, 0 replies; 4+ messages in thread
From: John MacFarlane @ 2020-10-23 18:43 UTC (permalink / raw)
  To: MyriaCore, pandoc-discuss


No, we provide a pre-compiled executable but not a library.
Sorry, pandoc does take a lot of time and memory to compile.

MyriaCore <me-iMRNxolsNr8QFTY0IWPKwg@public.gmane.org> writes:

> Yeah, my question was kinda weird and specific. I did end up getting the 
> service working by switching over to a full web setup w/ scotty.
>
> The only problem I'm having is that stack takes too long to build the 
> library, and my compilation times out on heroku. I feel like this probably 
> isn't a thing, but are there pre-compiled versions of the pandoc libraries 
> that I could pull from somehow? 
>
> On Wednesday, October 21, 2020 at 7:04:33 PM UTC-4 John MacFarlane wrote:
>
>>
>> I'm sorry, I don't know what you mean by CORS errors.
>> No, ngrok wasn't used (whatever that is).
>>
>> Try this:
>>
>> stack install --flag pandoc:trypandoc --flag pandoc:embed_data_files 
>> --copy-bins
>>
>>
>> MyriaCore <m...-iMRNxolsNr8QFTY0IWPKwg@public.gmane.org> writes:
>>
>> > Hi All,
>> >
>> > I'm trying to create a build of the trypandoc site that can render the 
>> > generated HTML on the right, and that uses a specific setup. I'll likely 
>> > have the trypandoc binary running on a heroku, and I'll host the site 
>> > itself through gitlab pages. 
>> >
>> > I'm running into a *lot* of CORS errors when testing this, and I 
>> actually 
>> > can't find a way to test it without running into CORS errors, actually. 
>> I'm 
>> > super new to this, but it looks like ngrok or something similar was used 
>> to 
>> > create the site. 
>> >
>> > Any pointers?
>> >
>> > -- 
>> > You received this message because you are subscribed to the Google 
>> Groups "pandoc-discuss" group.
>> > To unsubscribe from this group and stop receiving emails from it, send 
>> an email to pandoc-discus...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
>> > To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/pandoc-discuss/a7772d4a-5fd5-4acc-b20c-d10f6d710d87n%40googlegroups.com
>> .
>>
>
> -- 
> You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/1ca4d874-b5bf-444d-ac0b-bb81a0c93eb9n%40googlegroups.com.


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-10-23 18:43 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-21 21:52 building and runnning trypandoc? MyriaCore
     [not found] ` <a7772d4a-5fd5-4acc-b20c-d10f6d710d87n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2020-10-21 23:04   ` John MacFarlane
     [not found]     ` <m2eelrrxjj.fsf-pgq/RBwaQ+zq8tPRBa0AtqxOck334EZe@public.gmane.org>
2020-10-23  4:41       ` MyriaCore
     [not found]         ` <1ca4d874-b5bf-444d-ac0b-bb81a0c93eb9n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2020-10-23 18:43           ` John MacFarlane

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).