Posts

Showing posts from November, 2018

How to run composer.json?

how to properly run the composer.json to create a project? You must download composer: curl -sS https://getcomposer.org/installer | php   or php -r "readfile('https://getcomposer.org/installer');" | php   and next you should run if you have composer.json file: php composer.phar install   or if you want create new project php composer.phar create-project

How to add existing project to Github or BitBucket ?

You are a developer and creating a sample projects for your learning or for samples that can help you in future. Then why you don’t upload your github/bitbucket. Follow the below steps to upload your project on git/bitbucket.   Upload Project on GitHub – How to add existing project to GitHub or Bit-bucket Create account on github or bitbucket. Create new respository  on github or bitbucket. So you will get a http clone url with .git extension. Now come to your local directory/project that you want to upload on git. Open directory in terminal. cd /path/to/my/repo Init you project as git repository by following command. git init Connect this repository to remote git repository. git remote add origin [//your github url] Add all your folder and files of project to version control system by following command. git add . commit all your changes that you have added files and folder. git commit -m 'First Commit' Upload/push code to remote git repository. git push -u origin master It wi...