Advertisement
CryptoLifestyler

Untitled

Jan 27th, 2020
140
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.37 KB | None | 0 0
  1. Installing the Explorer
  2.  
  3. Transcript
  4.  
  5. 00:00 We will now start working on installing the explorer. I have provided you a pastebin for this part. You will essentially be just copying and pasting one after another. Not fun to watch I know. But I should show you in real time, as there will be some errors.
  6.  
  7. 00:18 A lot of the dependencies found on repositories are now outdated. So we have to adapt the standard installation to get through this. Follow exactly as I do.
  8.  
  9. 00:32 Before you install your dependencies. You should always do; ''sudo apt-get update'' on your server. This just makes sure everything is up to date before we start. Then we are going to install node.js. We will be installing the legacy version for this.
  10. Whenever prompted by the question. Do you want to continue? Insert ''Y'', and Enter.
  11.  
  12. 01: 16 Next we are going to install npm. Npm is the package manager for the Node JavaScript platform. It puts modules in place so that node can find them. And manages dependency conflicts intelligently. However, recently npm has been acting up by not providing the latest version . So our next command is going to clear the cache. And this one is going to install the latest globally.
  13.  
  14. 02:00 Now we will have the newest version also installed. These next commands will allow it to choose to use the most stable version.
  15. Okay, so keep on copying and pasting the commands, one after another.
  16.  
  17. 02:19 Now we will hit some errors here. So do as it says. Run ''npm audit fix''. It will fix most of them. Don't worry though. These errors are not critical.
  18.  
  19. 02:34 Copy and paste the next command. I already have this installed by you might not at this point. We also need to install the forever program. This is an important installation. When installing the forever program. You will run into a whole bunch of warnings and errors. Just ignore them. We don't need to worry about these.
  20.  
  21. 03:01 Next, copy and paste the 2 commands into the terminal. One by one. Now we will perform another update.
  22.  
  23. 03:22 Now we are going to install mongo DB. Mongo DB is a database that the explorer needs to use. Next we need to fix some paths. Otherwise we will run into problems with mongo DB. Now we are going to start the mongo DB daemon with this command. Now to enter the database. We use the command, Mongo. Then we need to add the command. Use explorer DB Then we can create a user and password for the database. Keep this command the same. Do not change anything. Now that will tell us, that we have successfully added the user. We can exit, by typing exit. With all that done. clear your terminal.
  24.  
  25. 04:48 We are now going to clone the explorer from GitHub. Copy and paste this command into the terminal. And let it pull the source code. We are now going to clone the explorer from GitHub. Copy and paste this command into the terminal. And let it pull the source code. Now by typing LS, you can see the folder named explorer.
  26.  
  27. 05:14 Copy and paste the next command into the terminal. Don't worry about all the warnings and errors.
  28. We are going to run. npm audit fix again. And then run ''npm audit fix force''. Again, more errors, but it's normal.
  29.  
  30. 05:53 There is an important file that we will be editing. It is called settings.json. Currently it is named settings.json template. We will use the next command to copy and paste template file. And rename it to settings.json.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement