Re: [nesta] Fwd: how to change the port 8080?
- Jacopo Notarstefano
- 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:
Hopefully this answers your question.
On Wed, Oct 30, 2013 at 7:00 PM, Brite Ming <email@example.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
> where is the root dir of the static website?
> On Wed, Oct 30, 2013 at 7:24 PM, Jacopo Notarstefano <
> firstname.lastname@example.org> wrote:
>> Hey there!
>> Simply execute: bundle exec shotgun -p 8080.
>> Jacopo Notarstefano
>> On Wed, Oct 30, 2013 at 9:42 AM, Brite Ming <email@example.com> wrote:
>>> how to change the port 8080?