Sunday, August 13, 2017

How to start work with Meteor ?

Meteor is full stack JavaScript platform it helps to build modern web and mobile applications. Meteor has good features compared with other JavaScript frameworks full-stack development, platform independent, Mongodb integration, live reload are some of those features.  so let start to create a small project using meteor.js

first of all go to the directory where you want to create the project and open the terminal. here i'm going to explain to create sample project called "resolutions". follow the below commands on terminal.
meteor create resolutions - this command will create project
and go to the project directory by using the "cd" command.




























This is basic file structure of a meteor project. meteor ensures that any files any directory named client / will be available on the client and same wise server.  client/main.js and server/main.js helps in order to define entry points for both client and server.

to run this project type the command meteor 
usually meteor projects run on port 3000.
meteor run --port (port_number) by thorugh this command you can change the port.

















you can see this page once you run the project. so this the way create and run a meteor project. so hope you all understood the very basic step of creating a project meteor.

Tuesday, June 13, 2017

How to create Laravel project ? 


In this article i'm going to describe about how to create laravel project in windows. first of all you need to have Apache-MySQL-PHP package.(Wamp or Xampp). if don't have any of these. go to the following and install it.

https://www.apachefriends.org/download.html - To Install Xampp

http://www.wampserver.com/en/download-wampserver-32bits/ - To Install Wamp Server

once you installed or if already installed. then open command prompt and just type php --version. if it returns nothing then go to (If you have installed Xampp) Xampp folder and go to Php folder, inside your php folder you find a file named as "Php.exe" so just copy the path and go to control panel ==> System and Security ==> Advanced system setting ==> Environment variables. in environment variables click path and edit path by adding  php.exe path.

same wise go mysql folder in Xampp folder add the folder path. just like the before step.

After that go to php folder and open the php.ini file make sure that "extension=php_openssl.dll" this line is not commented. same wise go to the apache folder open conf folder and open the httpd.conf file and make sure that ''LoadModule rewrite_module modules/mod_rewrite.so" this line is not commented.

that's all you to have to do first. now you can check your php,mysql version in command prompt.

next go to this link https://getcomposer.org/download/ and install the composer. to install this just follow the commands described in the link. if you install this in your xampp directory it would be better. once you installed it. you can find a file named as "composer.phar" in your xampp directory. just named it file as "composer" for convenience.

now everything ready. go to xampp directory by command line and  just type the below command
composer create-project laravel/laravel htdocs/your-project-name

you can find a folder which you named for project in your htdocs folder.

turn on the xampp and go to browser and just type localhost/project folder/public and confirm it.

in my next article i will describe about the file structure of laravel. thank you. if you have any problem regarding the installation of the laravel please comment below. 





Sunday, February 19, 2017

How To Install ionic 2 in Linux mint 18

Welcome to everyone to my first article. through this article I would like to describe about how to install ionic 2 and nodejs in the Linux mint 18. It’s very simple, if You follow below steps then you can simply install ionic 2.

first of all open your terminal (clt+alt+T) and follow the below steps one by one.

sudo curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash - 
to add repository to install nodejs 6.9 and npm. 
There are several versions available for nodejs but nodejs 6.9 most preferable for 2.1.0-beta.3 

if you install nodejs 5 or other earlier versions you will may get errors
when you run your ionic project in your localhost server. for example :
(Error: ENOENT: no such file or directory, open d:\ionic2app\www\index.html' ) 
therefore latest versions of the nodejs are most preferable.

after you have added the repository, you have to type sudo apt-get install nodejs 
in your terminal to install nodejs and npm.

when you finish the installation of the nodejs and npm. You have to type 
sudo apt-get install -g ionic@beta cordova to install ionic 2. 

that’s all about the installation of ionic 2. 
after that you can find “ionicprojects” folder in your home directory. 

And also to create new ionic project open your command line and type 
cd ionicprojects to go the “ionicprojects” folder. 
sudo ionic start myApp.  
Make sure you have created new project inside your “ionicprojects” folder

to run your project in your localhost type the below command in your terminal 
sudo ionic serve then you can see your project in browser. 

So this is all about the installation of ionic 2. 
hope you all got an idea about the installation of ionic 2. 
through my next article I'm going to explain how to start first project in the ionic2. 
Thank you.