Giter VIP home page Giter VIP logo

Comments (22)

SamGreenwood1 avatar SamGreenwood1 commented on August 23, 2024 1

setup, built, and deployed successfully on the new server but when I go to the server's IP, I still get the Nginx splash page.

from cv.

tbaltrushaitis avatar tbaltrushaitis commented on August 23, 2024

Hi @SamGreenwood1!

Looks like you need to run make clean && make setup.
Also you could run npm i

Hope this helps!

from cv.

SamGreenwood1 avatar SamGreenwood1 commented on August 23, 2024

I tried that a number of times.
Is there anything I have to do to configure nginx properly? At this point I get the nginx landing page when I goto the server's IP.
Here's the latest log file: https://pastebin.com/EiYWUKCX

from cv.

SamGreenwood1 avatar SamGreenwood1 commented on August 23, 2024

Could you post more granular on how to install it properly?

from cv.

tbaltrushaitis avatar tbaltrushaitis commented on August 23, 2024

@SamGreenwood1 ,

I've look into your log file and from the line below

error command sh -c figlet-toilet -t -f small -F border 'NPM: DEPLOY'; gulp deploy --color

I can conclude that you have not yet installed dependency figlet-toilet and/or gulp.
So as I wrote before, you need to run make clean and make setup. Or install them manually with
sudo apt-get -y install figlet toilet toilet-fonts (this line can be found in Makefile)

Hope this helps!

from cv.

SamGreenwood1 avatar SamGreenwood1 commented on August 23, 2024

image

from cv.

tbaltrushaitis avatar tbaltrushaitis commented on August 23, 2024

@SamGreenwood1 ,

perfect!

Now let the party installation begins!

from cv.

SamGreenwood1 avatar SamGreenwood1 commented on August 23, 2024

It still fails

from cv.

SamGreenwood1 avatar SamGreenwood1 commented on August 23, 2024

image

from cv.

SamGreenwood1 avatar SamGreenwood1 commented on August 23, 2024

nginx also seems to be broken.
image

from cv.

SamGreenwood1 avatar SamGreenwood1 commented on August 23, 2024

nginx config is missing how do ou suggest I fix it?

from cv.

SamGreenwood1 avatar SamGreenwood1 commented on August 23, 2024

@tbaltrushaitis gonna try installing it on another server. When installing gulp do I need to follow all the steps in the docs since there's already a gulp file?

from cv.

tbaltrushaitis avatar tbaltrushaitis commented on August 23, 2024

@tbaltrushaitis gonna try installing it on another server. When installing gulp do I need to follow all the steps in the docs since there's already a gulp file?

You just need to have gulp installed globally or local.

from cv.

tbaltrushaitis avatar tbaltrushaitis commented on August 23, 2024

setup, built, and deployed successfully on the new server but when I go to the server's IP, I still get the Nginx splash page.

Ahh, cool!
Describing of how to configure nginx to serve from web directories is out of scope for this repo.
But I can suggest that you need to configure virtual host for CV inside of nginx. Btw, here you can find an example ;-)

from cv.

SamGreenwood1 avatar SamGreenwood1 commented on August 23, 2024

image

@tbaltrushaitis gonna try installing it on another server. When installing gulp do I need to follow all the steps in the docs since there's already a gulp file?

You just need to have gulp installed globally or local.

both

setup, built, and deployed successfully on the new server but when I go to the server's IP, I still get the Nginx splash page.

Ahh, cool! Describing of how to configure nginx to serve from web directories is out of scope for this repo. But I can suggest that you need to configure virtual host for CV inside of nginx. Btw, here you can find an example ;-)

Does Nginx need to be globally installed?

from cv.

tbaltrushaitis avatar tbaltrushaitis commented on August 23, 2024

Does Nginx need to be globally installed?

Nginx is not part of node/npm. It should be installed as a service in your OS.

from cv.

tbaltrushaitis avatar tbaltrushaitis commented on August 23, 2024

Closing as reporter confirmed issue resolved for him.

from cv.

SamGreenwood1 avatar SamGreenwood1 commented on August 23, 2024

It deploys successfully but the webpage errors out. What should be in /var/www/html?

from cv.

SamGreenwood1 avatar SamGreenwood1 commented on August 23, 2024

@tbaltrushaitis I noticed that there's a reference to /var/www/html/cv.git/webroot in ~/cv/etc/nginx/sites-available/010-cv but, that file doesn't exist on my server. Is cv.git supposed to be a link to the cv directory?

2:37 PM ET: just tried that it didn't help. I realized that there's an ssl error when I try to access it over HTTPS. are your certs in the repo?

from cv.

tbaltrushaitis avatar tbaltrushaitis commented on August 23, 2024

@tbaltrushaitis I noticed that there's a reference to /var/www/html/cv.git/webroot in ~/cv/etc/nginx/sites-available/010-cv but, that file doesn't exist on my server. Is cv.git supposed to be a link to the cv directory?

In my configuration cv directory is /var/www/html/cv.git and nginx pointed ti webroot dir inside of it (as Make build project distro from sources into it).

2:37 PM ET: just tried that it didn't help. I realized that there's an ssl error when I try to access it over HTTPS. are your certs in the repo?

You should setup certs by your own at your server (e.g. with certbot). They should never be committed into git repo.

from cv.

SamGreenwood1 avatar SamGreenwood1 commented on August 23, 2024

so the

@tbaltrushaitis I noticed that there's a reference to /var/www/html/cv.git/webroot in ~/cv/etc/nginx/sites-available/010-cv but, that file doesn't exist on my server. Is cv.git supposed to be a link to the cv directory?

In my configuration cv directory is /var/www/html/cv.git and nginx pointed ti webroot dir inside of it (as Make build project distro from sources into it).

cv directory itself is in /var/www/html?

from cv.

tbaltrushaitis avatar tbaltrushaitis commented on August 23, 2024

so the

@tbaltrushaitis I noticed that there's a reference to /var/www/html/cv.git/webroot in ~/cv/etc/nginx/sites-available/010-cv but, that file doesn't exist on my server. Is cv.git supposed to be a link to the cv directory?

In my configuration cv directory is /var/www/html/cv.git and nginx pointed ti webroot dir inside of it (as Make build project distro from sources into it).

cv directory itself is in /var/www/html?

Yep. But its not the rule. It can be anywhere you want.

from cv.

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.