Skip to content

Serving production without gulp #106

@beaverusiv

Description

@beaverusiv

I am trying to set up my site to be served with nginx. Currently if I run gulp dist it works fine and I get a folder with a bunch of minified js and css, but there is no index.html or anything. Do I have to manually copy src/app/index.html and manually copy in the css/js file srcs?

My ngnix config so far:

server {
        listen 80;
        server_name portal.whatever.biz;
        root /var/sites/portal.whatever.biz/frontend/dist;
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions