Git Product home page Git Product logo

Comments (12)

vamcart avatar vamcart commented on May 29, 2024 1

I don't know, what is your server settings
I have this nginx config - https://raw.githubusercontent.com/Cezerin2/cezerin2/master/docs/nginx.md
and thumb works for me on my domain.

from server.

vamcart avatar vamcart commented on May 29, 2024 1

Here is the working thumb sample - https://vamshop.ru/images/products/5dadd22796976428b790393c/100/box.png

from server.

vamcart avatar vamcart commented on May 29, 2024

Here is online demo for cezerin:
https://demo.cezerin.net
https://admin.cezerin.net

from server.

EddieOne avatar EddieOne commented on May 29, 2024

Oh, it requires Nginix? That would say a lot about design choices.

The reason I was searching for Nodejs eCommerce was full stack Node is amazing when possible.

I'm not sure, if you want to manage that much. There is a module in Node which has replaced Nginx. https://github.com/http-party/node-http-proxy

from server.

vamcart avatar vamcart commented on May 29, 2024

Yes, you need nginx to proxy web requests from site to api, store, dashboard apps.
Here is the docs - https://cezerin.org/docs
How to deploy cezerin on the web.
How to install cezerin.
How to install cezerin with docker, etc...

Cezerin 100% JS based. Frontend, backend. All based on JS. One language for all.

Thanks for the link. If this lib can replace nginx - it's awesome.

from server.

vamcart avatar vamcart commented on May 29, 2024

We need to proxy all requests from web to our cezerin apps.

All requests from admin.domain.com proxy to localhost:3002 (running cezerin2-admin dashboard app)

All requests from domain.com proxy to localhost:3000 (running cezerin2-store frontend app)

All requests from domain.com/api, domain/ajax, domain/images proxy to localhost:3001 (running cezerin2 backend app)

Check nginx config for this proxy - https://raw.githubusercontent.com/Cezerin2/cezerin2/master/docs/nginx.md

from server.

cioranique avatar cioranique commented on May 29, 2024

We need to proxy all requests from web to our cezerin apps.

All requests from admin.domain.com proxy to localhost:3002 (running cezerin2-admin dashboard app)

All requests from domain.com proxy to localhost:3000 (running cezerin2-store frontend app)

All requests from domain.com/api, domain/ajax, domain/images proxy to localhost:3001 (running cezerin2 backend app)

Check nginx config for this proxy - https://raw.githubusercontent.com/Cezerin2/cezerin2/master/docs/nginx.md

how do you make image resizables by nginx?

from server.

vamcart avatar vamcart commented on May 29, 2024

With nginx module image_filter and nginx config - https://raw.githubusercontent.com/Cezerin2/cezerin2/master/docs/nginx.md

Check https://cezerin.org/docs

from server.

cioranique avatar cioranique commented on May 29, 2024

With nginx module image_filter and nginx config - https://raw.githubusercontent.com/Cezerin2/cezerin2/master/docs/nginx.md

Check https://cezerin.org/docs

the module is installed by default when installing nginx-full , and i have the same nginx config from the docs but the images doesn't seem to be resized on the fly ... is there something wrong with server permissions or i should use S3 bucket? i use digitalocean

from server.

vamcart avatar vamcart commented on May 29, 2024

By default all is working fine for me.
Thumbs created.

If you start cezerin2 on your local machine, of course thumbs is not working because you have npm web server, not nginx.

Nginx used when you deploy on the web and setup nginx - https://cezerin.org/docs/#/deploy-on-web-hosting

Or use docker installation.

Start with docker-compose, thumbs will be created - https://cezerin.org/docs/#/using-docker?id=docker-compose

from server.

cioranique avatar cioranique commented on May 29, 2024

By default all is working fine for me.
Thumbs created.

If you start cezerin2 on your local machine, of course thumbs is not working because you have npm web server, not nginx.

Nginx used when you deploy on the web and setup nginx - https://cezerin.org/docs/#/deploy-on-web-hosting

Or use docker installation.

Start with docker-compose, thumbs will be created - https://cezerin.org/docs/#/using-docker?id=docker-compose

it's installed on the server not local, all is working fine except thumbs are not created in the cache directory, maybe because i browse the website by the ip adress of the server not by domain name? because it;s still on development

from server.

cioranique avatar cioranique commented on May 29, 2024

i have the same server config, https://raw.githubusercontent.com/Cezerin2/cezerin2/master/docs/nginx.md

maybe they'll get resized when i add the domain, thanks anyway!

from server.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.