Closed SamGreenwood1 closed 2 years ago
Hi @SamGreenwood1!
Looks like you need to run make clean && make setup
.
Also you could run npm i
Hope this helps!
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
Could you post more granular on how to install it properly?
@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 ,
perfect!
Now let the ~party~ installation begins!
It still fails
nginx also seems to be broken.
nginx config is missing how do ou suggest I fix it?
@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?
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 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.
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 ;-)
@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?
Does Nginx need to be globally installed?
Nginx is not part of node/npm. It should be installed as a service in your OS.
Closing as reporter confirmed issue resolved for him.
It deploys successfully but the webpage errors out. What should be in /var/www/html?
@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 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. Iscv.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.
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. Iscv.git
supposed to be a link to the cv directory?In my configuration cv directory is
/var/www/html/cv.git
and nginx pointed tiwebroot
dir inside of it (asMake
build project distro from sources into it).
cv directory itself is in /var/www/html
?
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. Iscv.git
supposed to be a link to the cv directory?In my configuration cv directory is
/var/www/html/cv.git
and nginx pointed tiwebroot
dir inside of it (asMake
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.