Install Parse Server and Parse Dashboard to Digital Ocean – Part 1/4

so hello there this tutorial is about how to install parser there and all superstars board you all know that per server is closing down by 27 of January 2017 although I have announced that the priority to the parts allocation are going to be lower since 28th of April with this month so let’s quick start how to make how to make our digitalocean account and install their Budhu 14.4 and also parser very fast a sport so first of all let’s log out from here we need to create an account or if you have already acquired its allows here you can log in but you can see the link below on the descript description so if you want just to say thank you about this tutorial you can actually sign up an account from my link because they have a different account and you also get $10 spring so let’s login and then we have to push create droplet droplet is actually something like a server when we can get in the console and we will write some stuff so we will choose an image it will do ten point four zero four zero four it’s don’t use the five dollars this is the time it you will actually be charged by the hour it’s almost one cent an hour which is the default at the New York and now the additional options we click user data because I will show you right now let’s go inserts now parse server digitalocean here is how to run per server on lead fellowship this is a script to install MongoDB before you will add this script so it will be installed before the drop list is being installed in budu so we copy this lines and we paste it here in data user data private networking backups and ipv6 it it depends to you what you want to do as I said he also we create wonder public and at the host name I will put the name of my company I ran and the name of our application so to talking just a quick word my companies are a madman iOS and web developer there we started using parts for one project but since we heard after a month or so we heard that it’s closing down and it was actually my decision to use parts so I’m the one that will have to make these changes and I figure out how and I wanted to share with you our MDOT they are from Athens all over the world thanks a lot for your support let’s now create the droplet it takes almost one minute or fifty cycle to create the droplet we went now to be created now we have our RP IP address and here there is some more we

push it and we access console so now there is this pop-up we wait for a bit this pop-up here it’s like a console window and here we can put some commands actually when you create without the SS aides they go to your read and you have to go to your email and they will send you the passport so here it is the IP address the root and the password wait a second so here we put a root and the password that there is on the left side 3 4 6 C 16 f8 to f4 c FF d 0 this this console doesn’t let you use paste copy paste so we have to write it down by yourself and now we have to change this password we put again the first password 3 4 6 C 16 f8 to f4 c FF d 0 and now we enter a new password so whoever tries to log in with the previous password he won’t get anything at all so now we are ok good to go but as I said because we have to copy paste a lot of stuff we are not going to use this console panel on your mark or on your windows I don’t know what are you using you have to open terminal here on mark and right ss8 root up the IP address that your droplet is on enter yes yeah I’m sure I want to connect to this root so I use the password of the droplet that I entered a bit ago not the password of the mark so now we have entered successfully to this droplet now we are going to make some stuff here we are on the main directory okay and now we download the setup of not source all okay and then nano is to open the setup or some other file we will use that afterwards or no parse a serve a random person dashboard a lot so you should be familiar with nano and finally want to open now so here the file and you push ctrl X like it says here exit control X to exit now we have to set up node we wait for a bit so all the packages could be being stalled notice is a must for parser server it can’t work other way okay so now the next command actually all the links this link and the script link and installation link I will include it to the description so don’t be afraid

I will guide you through step by step just follow some steps here and you will be okay actually the part server is has already one tutorial 14 solution and I’m going to make also per server and past dashboard how to install / / / – dissolution so now note is processing and we take that purchase ever example so here there is the Purcell cell for example written by the person server admins developers it has some deployment tutorials here from Missouri Heroku and stuff and sculling go don’t know how this so we paste the so it known the first ever example okay the list goes quick we entered on the folder of the power server example then we hit npm install NPM is a command for loads a yes and we installed segmented part server example files in our machine we wait for this bar to be completed let’s open a bit the window okay so if you see these three here it’s all good it has been installed and now he says you have to write NPN start let’s write okay but you have to do also something else let’s push ctrl + C ctrl C let’s see what finds we have here we have to go to index dot JSON a no index dot say yes enter and here we have to set the up ID in the master key if you are familiar with parse when you when you create one parse up it gives you already one app ID and one master key but here you have to put them yourself so I could hire them they are from Greece we know actually I’m going to delete this droplet after the tutorial so don’t anyone try to go in to my to the server because it will not exist so we push now control X so we exit and master yes we put press Y and enter and now it keeps our data saved so let’s write NPM start again so we know that this this package now works okay we can go can take the IP address and now we’re sort it works okay now what else we have to post something so we are sure that it’s going to work we open another

terminal in the window cause here we come here we take from the parser for example this one this code here good copy and I suggest to open a text editor i will open xcode because we have to change some things here like up ID my app ID the local host who have to put the servers okay i have already opened have already one from my tests so now my app ID I read there and the local host is the server IP now we are going to paste that say URL post we are going to post two parts of the case with this ID a contact type applications a zone with score 1 337 planning submits it mood phones and the HTTP that is going to be posted to be created with this so we paste it excellent now object ID we got our response it has been created successfully at this time that I’m making the request so now we have to now everything is rounding up and running at the port 1 3 3 7 the IP address of your server a 337 now we have to install per se – port it’s very simple although it has one one only wheel situation now let’s open another one another terminal token grass so the glass is the parse a dashboard we copy the git clone after we connect to our server of course we have to connect again yes of course I forgot the sides then we put our password from the server so we have successfully login now we go here we go and the you will post our set a score here so you can go to the github github person platform Marseille dashboard we are going to play with these commands here now let’s run NPM install jeepers global NPM install global person a sport wait for it to be installed okay we see the tree here you know everything is working good and now as you can see you can make your own configuration JSON so can you hear you configure the app if you have many apps it’s like these apps and it’s a simple JSON file but because we have not enabled SS aids-like it’s the BS we have HTTP basic of dedication to our configuration files so what we have to do now is to make a user insult inside our config dot basil so we will create we will say C be okay unless okay so now we put touch config dot J’s so we will create one JSON file and we will paste here there are the users okay if we push no way less well the config that JSON file is being created here okay and we could not know config dot Jason so here

we will will copy go here to the block of parts copy this code here which says apps and server and paste it here now you have to go with the RO have to put your app ID which is rmz are the master key from Greece with love my app is so two key and the server URL it’s going to have the IP address just to be clear or you can test it with local cost I haven’t tasted but one colleague said that it’s going to be okay anyway now we have to put a comma here so we can put our users let’s go to the github of the parts and here’s Mac you see apps are normal apps and deploy in the dashboard with the users because of the HTTP security we have to put this here copy let me lick this one here and paste so you can we have now our users user 1 let’s say our user 1 is red and the pass is gr and the user – we’ll leave it as this so we put now control X yes bye I want to save changes and now we can see here that we have to put a loud insecurity a big one if our server does not support HTTP if it supports HTTP make sure that on the JSON file here you have to put HTTP over here so now we will follow a very simple example of running parts dashboard dot help so here it says that you can you have these options we want parse the sport to run with config dot Jason are now in say Q HTTP equals one okay so it says zero zero zero but actually our server IP address let’s try this 40 40 on the port 40 40 so it has now for a username a password let’s say by Ram in the password that they are so we can login very simple and now we have our first dashboard on our digital ocean server here it’s the app name the server URL the server version total user total installations so here it’s prepared it was very very simple is why I made this tutorial you can see here there is the object ID and score a player name that too we meet up at the say URL before here so to make this thing work you have to up to keep open the NPM start on index days of our

server example and at the same time on another terminal you have to run also the first dashboard config with config JSON and a low security p1 equal 1 and in the configuration you will do as we said on the example above so did this was a quick tutorial about our server I hope you enjoyed it and most certainly I hope that you will create an account at digitalocean from my link that I will put it right here below as you can see here there is an also push notifications exactly like we have it all the parts calm thank you for watching I hope you enjoyed it and if you have any question at all just post a comment goodbye