8000 GitHub - KitaitiMakoto/teresa
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

KitaitiMakoto/teresa

Repository files navigation

Teresa

SETTING UP

Repository

  1. Add SSH public key to GitHub: Account settings > SSH Keys
  2. Clone this repository: $ git clone git@github.com:KitaitiMakoto/teresa.git or use SourceTree.
  3. Move to repository directory in terminal: $ cd path/to/teresa to follow steps below.

Vagrant

  1. Install VirtualBox(or so): https://www.virtualbox.org/wiki/Downloads
  2. Install Vagrant: http://www.vagrantup.com/downloads.html
  3. Add Ubuntu box to Vagrant as "ubuntu1304": $ vagrant box add ubuntu1304 http://goo.gl/ceHWg
  4. Start virtual machine:
$ vagrant up
Bringing machine 'ci' up with 'virtualbox' provider...
[ci] Clearing any previously set forwarded ports...
[ci] Clearing any previously set network interfaces...
[ci] Preparing network interfaces based on configuration...
[ci] Forwarding ports...
[ci] -- 22 => 2222 (adapter 1)
[ci] Booting VM...
[ci] Waiting for machine to boot. This may take a few minutes...
[ci] Machine booted and ready!
[ci] Setting hostname...
[ci] Configuring and enabling network interfaces...
[ci] Mounting shared folders...
[ci] -- /vagrant
[ci] VM already provisioned. Run `vagrant provision` or use `--provision` to force it

Chef

  1. Install knife solo: $ gem install knife-solo
  2. Install Berkshelf: $ gem install berkshelf
  3. Install Chef cookbooks: $ berks install --path=cookbooks
  4. Prepare Chef Solo on virtual machine: $ knife solo prepare 192.168.33.101
  5. Install middlewares into virtual machine(it may take several minites): $ knife solo cook 192.168.33.101 nodes/ci.teresa.local.json
  6. You can see Jenkins control panel at http://192.168.33.101:8080

PhantomCSS

  1. Login to CI server: $ vagrant ssh ci
  2. Move to shared directory: [ci]$ cd /vagrant
  3. Install Node modules: [ci]$ npm install
  4. Install Bower: [ci]$ sudo npm install -g bower
  5. Install Bower components: [ci]$ bower install
  6. Run test:
    [ci]$ cd bower_components/phantomcss
    [ci]$ ../../node_modules/.bin/casperjs test ./demo/testsuite.js
  7. Check result images on host machine's ./bower_components/phantomcss/screenshots directory

LICENSE

This application is distribuetd under the term of the MIT License. See MIT-LICENSE file for more info.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages

0