tbaltrushaitis / cv

:mortar_board: Best in Class modern CV, Resume and Portfolio website template. All-in-One-Page site with simply customizable builder.
http://bit.ly/tomascv
MIT License
575 stars 206 forks source link

Installation Error #52

Closed SamGreenwood1 closed 2 years ago

SamGreenwood1 commented 2 years ago

image image

tbaltrushaitis commented 2 years ago

Hi @SamGreenwood1!

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

Hope this helps!

SamGreenwood1 commented 2 years ago

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

SamGreenwood1 commented 2 years ago

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

tbaltrushaitis commented 2 years ago

@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!

SamGreenwood1 commented 2 years ago
image
tbaltrushaitis commented 2 years ago

@SamGreenwood1 ,

perfect!

Now let the ~party~ installation begins!

SamGreenwood1 commented 2 years ago

It still fails

SamGreenwood1 commented 2 years ago
image
SamGreenwood1 commented 2 years ago

nginx also seems to be broken.

image
SamGreenwood1 commented 2 years ago

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

SamGreenwood1 commented 2 years ago

@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?

SamGreenwood1 commented 2 years ago

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.

tbaltrushaitis commented 2 years ago

@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.

tbaltrushaitis commented 2 years ago

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 ;-)

SamGreenwood1 commented 2 years ago
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?

tbaltrushaitis commented 2 years ago

Does Nginx need to be globally installed?

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

tbaltrushaitis commented 2 years ago

Closing as reporter confirmed issue resolved for him.

SamGreenwood1 commented 2 years ago

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

SamGreenwood1 commented 2 years ago

@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?

tbaltrushaitis commented 2 years ago

@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.

SamGreenwood1 commented 2 years ago

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?

tbaltrushaitis commented 2 years ago

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.