Download and install wamp and composer from here if you have not installed php and composer yet
https://sourceforge.net/projects/wampserver/
https://getcomposer.org/Composer-Setup.exe
Open powershell in admin and run the following command:
> [cd to your own directory where you like to do development]
> composer global require "fxp/composer-asset-plugin:~1.1.1"
> composer create-project --prefer-dist yiisoft/yii2-app-basic myappname
The "myappname" is the directory to which yii2 will be installed
Wednesday, May 11, 2016
Thursday, March 31, 2016
Simple command to start with GIT
This post keeps some quick references to simple command lines for starting using git with bitbucket.
```bash
`mkdir ~/git/myproject
`cd ~/git/myproject
`git init
`git remote add origin https://[myname]@bitbucket/[myname]/myproject.git
`touch helloworld.txt
`git add --all .
`git commit -m "first time commit"
`git push origin master
Other useful commands like:
`
```bash
`mkdir ~/git/myproject
`cd ~/git/myproject
`git init
`git remote add origin https://[myname]@bitbucket/[myname]/myproject.git
`touch helloworld.txt
`git add --all .
`git commit -m "first time commit"
`git push origin master
Other useful commands like:
- View remote urls : git remote -v
- Change remote url: git remote set-url add origin ...
`
Thursday, January 28, 2016
Cassandra Repair
http://oliviercontant.com/cassandra-monitor-repair-task/
http://www.datastax.com/dev/blog/advanced-repair-techniques
http://docs.datastax.com/en/cassandra/2.0/cassandra/operations/ops_repair_nodes_c.html
http://jonathanhui.com/cassandra-data-maintenance-backup-and-system-recovery
http://monkeys.chaordic.com.br/operation/zero-downtime-cassandra-upgrade/
https://github.com/BrianGallew/cassandra_range_repair
http://www.datastax.com/dev/blog/advanced-repair-techniques
http://docs.datastax.com/en/cassandra/2.0/cassandra/operations/ops_repair_nodes_c.html
http://jonathanhui.com/cassandra-data-maintenance-backup-and-system-recovery
http://monkeys.chaordic.com.br/operation/zero-downtime-cassandra-upgrade/
https://github.com/BrianGallew/cassandra_range_repair
Tuesday, January 12, 2016
Chocolatey
Chocolatey is a machine packaging manager for Windows, which makes it very easy to install tools such as cygwin and many others on Windows platform.
To install Chocolatey, open powershell in administrator mode and run the following command:
iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))
To use Chocolatey for installing tools such as vagrant and virtualbox, run the following command in powershell:
cinst vagrant virtual
To install Cygwin, run the following command in powershell:
cinst cyg-get
Link: https://chocolatey.org/
To install Chocolatey, open powershell in administrator mode and run the following command:
iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))
To use Chocolatey for installing tools such as vagrant and virtualbox, run the following command in powershell:
cinst vagrant virtual
To install Cygwin, run the following command in powershell:
cinst cyg-get
Link: https://chocolatey.org/
Subscribe to:
Posts (Atom)