librelist archives

« back to archive

Fwd: how to change the port 8080?

Fwd: how to change the port 8080?

From:
Brite Ming
Date:
2013-10-30 @ 08:42
hi.
how to change the port 8080?

Re: [nesta] Fwd: how to change the port 8080?

From:
Jacopo Notarstefano
Date:
2013-10-30 @ 11:24
Hey there!

Simply execute: bundle exec shotgun -p 8080.

Cheers,
Jacopo Notarstefano


On Wed, Oct 30, 2013 at 9:42 AM, Brite Ming <briteming@gmail.com> wrote:

>
> hi.
> how to change the port 8080?
>
>

Re: [nesta] Fwd: how to change the port 8080?

From:
Brite Ming
Date:
2013-10-30 @ 18:00
hi.mr Jacopo Notarstefano:

as3:~/nesta-site# ls
config  config.ru  content  Gemfile  Gemfile.lock
as3:~/nesta-site# ls content
attachments  pages
as3:~/nesta-site# cd content/pages
as3:~/nesta-site/content/pages# ls
breakfast.mdown  index.haml  test1.mdown  test2.mdown
as3:~/nesta-site/content/pages#

where is the root dir of the static website?


On Wed, Oct 30, 2013 at 7:24 PM, Jacopo Notarstefano <
jacopo.notarstefano@gmail.com> wrote:

> Hey there!
>
> Simply execute: bundle exec shotgun -p 8080.
>
> Cheers,
> Jacopo Notarstefano
>
>
> On Wed, Oct 30, 2013 at 9:42 AM, Brite Ming <briteming@gmail.com> wrote:
>
>>
>> hi.
>> how to change the port 8080?
>>
>>
>

Re: [nesta] Fwd: how to change the port 8080?

From:
Jacopo Notarstefano
Date:
2013-10-31 @ 03:20
I'm not sure I understood the question. Here are two options:

- The root dir of the Nesta app is the folder "nesta-site". Here you'll run
"bundle exec shotgun..." since that's where the config.ru file is.

- To put static assets in your Nesta app you create a "public" folder in
"nesta-site", the root dir of the Nesta app. Those files can then be used
in your templates and what not. For example the icons in my sidebar and my
logo are stored there:
https://github.com/jacquerie/blog/tree/master/public/images

Hopefully this answers your question.

Cheers,
Jacopo Notarstefano


On Wed, Oct 30, 2013 at 7:00 PM, Brite Ming <briteming@gmail.com> wrote:

> hi.mr Jacopo Notarstefano:
>
> as3:~/nesta-site# ls
> config  config.ru  content  Gemfile  Gemfile.lock
> as3:~/nesta-site# ls content
> attachments  pages
> as3:~/nesta-site# cd content/pages
> as3:~/nesta-site/content/pages# ls
> breakfast.mdown  index.haml  test1.mdown  test2.mdown
> as3:~/nesta-site/content/pages#
>
> where is the root dir of the static website?
>
>
> On Wed, Oct 30, 2013 at 7:24 PM, Jacopo Notarstefano <
> jacopo.notarstefano@gmail.com> wrote:
>
>> Hey there!
>>
>> Simply execute: bundle exec shotgun -p 8080.
>>
>> Cheers,
>> Jacopo Notarstefano
>>
>>
>> On Wed, Oct 30, 2013 at 9:42 AM, Brite Ming <briteming@gmail.com> wrote:
>>
>>>
>>> hi.
>>> how to change the port 8080?
>>>
>>>
>>
>