Re: [Firebase] Deploying a Sails.js app

225 views
Skip to first unread message

Kato Richardson

unread,
May 2, 2016, 2:49:03 PM5/2/16
to Firebase Google Group
Hi Tomáš,

You can't deploy a node.js app through Firebase Hosting at present. It's only for static assets (JavaScript, CSS, HTML, and images). There is no shell or server-side component installation.

☼, Kato

On Sat, Apr 30, 2016 at 1:02 AM, Tomáš Beňo <benj...@gmail.com> wrote:
I am not sure how to deploy my app. What should I set as the public directory when it is a node.js app with no index.html?

The project structure looks like this:

.
├── api
│   ├── controllers
│   ├── models
│   ├── policies
│   ├── responses
│   └── services
├── app.js
├── assets
│   ├── favicon.ico
│   ├── images
│   ├── js
│   ├── robots.txt
│   ├── styles
│   └── templates
├── firebase.json
├── package.json
└── views
    ├── 403.jade
    ├── 404.jade
    ├── 500.jade
    ├── about.jade
    ├── homepage.jade
    ├── layout.jade
    └── projects.jade



I tried using assets, views and root but I just get a "This file does not exist and there was no index.html" error.
Thanks.

--
You received this message because you are subscribed to the Google Groups "Firebase Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-tal...@googlegroups.com.
To post to this group, send email to fireba...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/firebase-talk/16e8b0f7-0e63-4dec-9a6a-357667bb28e1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--

Kato Richardson | Developer Programs Eng | kato...@google.com | 775-235-8398

Reply all
Reply to author
Forward
0 new messages