REDCap How To: Installing REDCap for Development

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
hey guys it's Mike today we're going to go how to install red cap locally on your machine for mostly full red cap software development and just I guess no red cap in general for those red cap administrators to be we're just learning how to use recap and the ins and outs of the redcap installation process so let's get started here okay I have one less lot to show you yes yeah so some of the basic requirements was since we're going to just use this installation mainly for self development such as a plug ins hooks or some sort of API for redcap we want to do is go ahead and install WAMP WAMP is a software packaged that's useful quick development on the I guess lamp stack or whatever we have in wamblam whatever you want to call it but it's basically windows Apache my sequel PHP it includes all those and especially with the new version whip it has a PHP seven points you you can also install them separately if you want to but the software makes it easy for us because it includes all the things we need like Apache and the my sequel database so that makes it easier for us to get started here all right so that's pretty much how I have full of slide wise I would get straight to doing this here all right so first thing what we want to do is go ahead and download web right we need we need that software so I've already gone to the website and I've already downloaded but you can just click to the top right hand corner here where it says English and then you click on download most likely you're gonna use a 64-bit machine nowadays so go ahead click on this and download it and install it right so now that you have the software installed on your computer you should see a little icon in the bottom right hand corner of your taskbar most likely and you're on the witness machine if not then it would be installing when you started and with some of the package but anyways so let's just go ahead and just check out what what happened with you know make sure that the web of the web server and all the sources has started just click Google alcohol's make sure that's true okay that's interesting whereas elevated what we do is just go to local house I just wanted to test the website up it is see how basically the this package here could saw a lot of the extensions that one would use for development and then some other stuff but mainly we just want to have a working website and it's actually helped right now so right so we have to have a web server an Apache 2.4 what I was running and it's using PHP 7 again I'm using PHP 7 but you can actually switch maybe go to you can click left click on the way up icon you can actually switch to PHP version like I have right here so alright alright so once you have that once you basically confirm that you have your website up and running it'll let you know via the icon that way icon having a green color all right so we wanted to again is we want to make sure that we download redcap the zip file whatever it is that we have for us at VCU we have a specialized basically a branch of question of recap that we you know kind of customize so we have to keep up with it but for everyone else I guess you can just download redcap and make sure you have the latest version of redcap or whatever version you want to work with for example today we'll be installing redcap seven point four point nine which is the latest LTS plus one the LTS I guess branch in a way so what we want to do is we want to go ahead and go to that folder that that has the way installed right so why did it it's most likely installed on [Music] way up 64 you dub dub dub folder and I have some you know some demo and some other stuff wasn't here but you can create a new folder called redcap there just right click on screen new folder and just name it redcap you don't technically need to do that you just unzip the downloaded zip file that included with the package for redcap so for example we go to our downloads red cap for example seven point four point nine has a red cap folder and already so you can just unzip the seven point four point nine zip that you have just copied this whole thing over copy red cap and paste into your dub-dub-dub folder basically yeah and you basically will have redcap in all its required files you know needed file all the dependencies and whatnot all those PHP files it's gonna be in here yo your structure might be a little different I have I've added some stuff for development wise but basically just have a basic installation of redcap it's all we need right now so anyways just assume that you've got all the files in this redcap folder right so it should have a very fairly straightforward structure with see when I'm 64 dub dub dub redcap and within that make a folder you have all your files including the versions and stuff you would have one I have to because I haven't the previous installation so alright so let's go ahead and it's got to minimize that alright so how do we install recap what we want to do is since you have the brows up you can just go to localhost and that gets you to do this there's index screening for the way up just tells you what you kind of have as well as the extensions and maybe some other stuff yet so the Earl here type in localhost and then redcap click that's where installed or extract that you files to and press Enter now again I've already have I wearing a red cap installed so let's just assume that I see here we don't have red cap result so secondly and by the way having vsk a good editor to work with various languages whatnot but all right so that's the same way that we don't have anything here that's what's gonna happen basically Redcaps gonna scream at you and say hey I don't have anything configured for a database wise so what we have to do is go into that redcap folder house that we just extracted to open the database type PHP file you can use your favorite at a notepad note pad to whatever notepad plus plus or vs code I have open it up and what you wanna do is you want to go ahead and fill out some database information now you might not even have a database at this point so I'm just gonna go ahead and kind of backtrack a little bit and get you guys install will actually add a database so create a database on your local instance because most likely at this point you don't have a database yet so yeah let's go ahead and do that an easy way for us to get to where we need to go is use PHP myadmin which is actually installed automatically as part of the web package my advice cable so as you see if you love collecting just gonna click this button says pH you made my admin ok well these for me too is stricter for this computer but what you can do is just go to nods have loka halls and just go PHP my ad press enter pH without an extra page a no it's my computer's list of also give it a couple seconds to bring up the UI for interact would be H I'm sorry with my sequel alright so first of all the usernames most likely route at least for the way of installation so look at the application you'll be installing something else but for WAMP it's a root and it's no password so click on go and you get straight into the basically the consoles grain web version of it all right so how a couple things here already because I have already created a couple demo and database and all that stuff but just for a quick start go ahead and click on the left right here says new it's not clicked on new so we want to create new database for our redcap installation and we just call it redcap a whatever you want to name it but I think redcap makes sense well you do local redcap redcap something like that hey cat all right you have to worry about collation here but utf-8 is weapon easily years yeah I think this is fine just use utf-8 general that general yeah hey we needed that one for general alright so let's just go ahead and click on the create button and you should now have a database called redcap and see how it's spinning on the left hand side it's creating the database for you but if you actually click on it there's nothing in there that's true because we just created there's nothing in there now there's no tables created nothing to really know honestly so we can create tables as you see here we can start doing a lot of stuff but again with just let it set we just created a database we're going to go and switch back to our BS code editor or your text notepad or whatever we want to go ahead and add the database name here so we just created the database mines called redcap and what I just created Newser name's gonna be root again that's we're gonna use the default admin username password I don't want to get too complex into it but obviously you can create and username specifically for this database to have access to it and so on but to keep it simple it's just using the simple and user the admin account for database obviously in the production environment you have the specific settings and all that stuff but let's not worry about reductionist installers on a local machine it's not use a minute password again we don't have a password or I didn't set one am I good but that'll be more complex right I'm gonna go with no password and then what else we do we need we need just one more thing we need to set the salt we said not me or like not my president something like that now I actually like not me anyways okay so that's that's fine all right so database is the configuration for the database where it's located and using a password set so now we can go ahead and go complete or I actually start our installation so back to our redcap I guess tap here so earlier we try to get to recap and I wouldn't go because there's no database configuration okay great now we got our database configuration what we need to do is we need install so if you're upgrading it think it's a little different what the process wise but that's our purpose would start from scratch right so you have to know where you're gonna go to install this redcap application here you have to do localhost / redcap because that style you know complies with basically our folder structure here so at this that cap so over there so this is dub dub dub make app and we have to go to the install file that's that's where it starts to things start our PHP it's basically fires another interface up to allow us to kind of look up the go viral information here you can actually run some queries to crazy default I kept music you wanted to right now in all this years basically found the database and it was successful view that it can talk to it etc and also provides us with some details on system installation values display format just regular admin stuff and you can put your name here contact so as if you know whatever you want to name you yeah I just I just believe everything default and just click on the Save Changes because yeah this is just a local instance for development purposes oxen plugins etc so Save Changes all right went to the next step for of the installation process if you left click on this window here it'll highlight the whole thing and you just right click copy she's the easier way for me I always do that and then we want to do is flip over to the other tab on the right hand side up here what we want to do is basically execute the SICU command so we've already copied in whole jars of sea-cook man onto our clipboard so now we just click on this SQL tab right here we just control ace right quick pace whatever you want to do so we pasted the whole sequel statement here from this box here for installation and you can actually look up this information in the installation redcap itself where there's a sequel folder and with all the sequel commands but anyways it's a that's another thing so right I'm gonna go ahead and just check to make sure that didn't do anything funny all right so though that's there you can just click on the Go button down here this is then go ahead and execute the statement all the statements commands at and loaded just give it a few seconds taking a while all right great it says one row affected all right interesting uh should be many roles right but anyways ok we got rekt kappa database if you left click on it now it should have a quite a bit more table basically created all the structure and tables and things that great kappa needs to run properly right so all these tables here has been created 114 tables red cap has grown quite a bit used to be like Tony know when I can actually remember all the name now I don't we have make fib bend nice alright let's step back to the installation screen step 4 all you have to do is click and maybe in the upgrade process it will actually read the configuration they'll pop up full screen you know that's all that stuff but in the new installation you won't have all that fancy stuff so just click on here just like I will actually go to the local instance but you just installed and that's a configuration check I showed all things are good while purposes we don't really mind all this others read like SSL I you don't have as well right haven't configured it yet and all the stuff I think it's important but again for development purpose we just have to have a local rec happens that's up and running at least for now all the way to bottom click on localhost make a would you type it or yeah just click on it they are so the default use it has been created it's called site and it's go at and then and you can definitely change that click on the control panel well control center what you have to do is you have to add a new user so they use a table base because that's why we're running right now table all right the other stuff that might expire I click on save another tidbit of information is that you don't have to have like no way appointed that he can some other stack that years obviously just install this most most production sites Lennox is sequel server that's back in his is as the web so and so on so it's not restricted to just this type insulation so yeah this is just for development and ease of development so alright have a good day thanks
Info
Channel: redcapforvcu
Views: 18,163
Rating: undefined out of 5
Keywords: redcap, install redcap, development, tutorial, training, how to, wamp, visual studio, vcu
Id: BoBNtoplAMA
Channel Id: undefined
Length: 20min 57sec (1257 seconds)
Published: Thu Aug 31 2017
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.