I am a little lost in this moment. It is my first time with nodejs (I have more experience with Php/Apache). Recently a client gave me access to a bitbucket repository where he had the code of one application on nodejs. My final goal is to install that application on a Linux dev server.
Reading a little on the internet, I launch a Ubuntu 16.04 Instance on AWS. I installed Node.js and npm like this:
sudo apt-get update
sudo apt-get install nodejs
sudo apt-get install npm
sudo apt-get install python-software-properties python g++ make
sudo apt-get install nodejs-legacy
And if I run these commands, it returns my the versions:
node --version
v4.4.5
npm --version
2.15.5
So, my question is... now what? I have been searching on the internet by a couple hours, and all the tutorials about install node on ubuntu stop right here, but I didn´t find how to configure an app right from the start, and how to install the bitbucket project on my server, and how I made this site accessible by my browser.
On a Php/Apache server I must create the project directory con /var/www/, made a git clone on that directory and configure the site's virtualhost, and access by http://ip_address/, How I do that in this case?
I'm sorry, I know maybe these are very basic questions, but really, as I said, I feel lost.