E5C3 GitHub - shufo/vagrant-stf: A setup scripts of openstf/stf with vagrant. · GitHub
[go: up one dir, main page]

Skip to content

shufo/vagrant-stf

 
 

Repository files navigation

vagrant-stf

A setup scripts of openstf/stf with vagrant, docker, docker-compose, ansible, nginx, consul, consul-template and registrator.

Requirements

  • Vagrant (Tested on 1.7.2)
  • Ansible (Tested on 1.9.1)

Installation

  • Generate Google OAuth2 Credential.

  • Edit vars file to suit your environment. Replace OAUTH_CLIENT_ID and OAUTH_CLIENT_SECRET generated in above.

vim ansible/vars/local.yml

use_ssl: no
app_scheme: http
app_domain: stf.example.org
app_url: "{{ app_scheme }}://{{ app_domain }}"

auth_method: "auth-oauth2"

env_values:
  - { key: OAUTH_CLIENT_ID, value: "replace_it" }
  - { key: OAUTH_CLIENT_SECRET, value: "replace_it" }
  • Setup VM and Docker containers.
make install
  • Ensure application is properly launched.
sudo sh -c "echo '172.17.8.101 stf.example.org' >> /etc/hosts"

then open http://stf.example.org/

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

About

A setup scripts of openstf/stf with vagrant.

Resources

License

Contributing

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • JavaScript 81.0%
  • HTML 9.7%
  • CSS 6.7%
  • Protocol Buffer 1.3%
  • Shell 0.6%
  • Nginx 0.4%
  • Makefile 0.3%
2D91
0