mirror of
https://github.com/discourse/discourse.git
synced 2024-11-22 12:12:26 +08:00
f3bcbd8bc3
This introduces two configuration management runs into the Vagrant provisioning phase. The first chef-solo run ensures that a current version of chef is installed using the omnibus updater. The second chef-solo run installs vim and phantomjs. Much more is possible, this is a proof of concept. Cookbooks are stored in the chef directory, and managed by librarian-chef, which is like a bundler for cookbooks. Chef is run when VM is first downloaded and booted, but not on subsequent halt/up cycles. To force chef to run again, use `vagrant provision`.
65 lines
1.2 KiB
Plaintext
65 lines
1.2 KiB
Plaintext
# See http://help.github.com/ignore-files/ for more about ignoring files.
|
|
#
|
|
# If you find yourself ignoring temporary files generated by your text editor
|
|
# or operating system, you probably want to add a global ignore instead:
|
|
# git config --global core.excludesfile ~/.gitignore_global
|
|
|
|
tags
|
|
|
|
.DS_Store
|
|
._.DS_Store
|
|
dump.rdb
|
|
|
|
.sass-cache/*
|
|
|
|
# Ignore bundler config
|
|
/.bundle
|
|
/.vagrant
|
|
/.vagrantfile
|
|
/cache
|
|
/coverage/*
|
|
|
|
# Ignore the default SQLite database and db dumps
|
|
/db/*.sqlite3
|
|
/dbs/*.sql
|
|
/dbs/*.sql.gz
|
|
|
|
# Ignore all logfiles and tempfiles.
|
|
/log/*.log
|
|
/tmp
|
|
|
|
# Ignore Eclipse .project file
|
|
/.project
|
|
|
|
# Ignore Eclipse .buildpath file
|
|
/.buildpath
|
|
|
|
# Ignore RubyMine settings
|
|
/.idea
|
|
|
|
# Ignore gem that is copied in
|
|
MiniProfiler/Ruby/rack-mini-profiler-2.0.1a.gem
|
|
|
|
sublime-project.sublime-workspace
|
|
|
|
# Vim temp files
|
|
*~
|
|
*.swp
|
|
*.swo
|
|
|
|
# don't check in multisite config
|
|
config/multisite.yml
|
|
# don't check in my renamed multisite config as well :)
|
|
config/multisite1.yml
|
|
config/fog_credentials.yml
|
|
|
|
/public/uploads
|
|
/public/stylesheet-cache/*
|
|
|
|
# Scripts used for downloading/refshing db
|
|
script/download_db
|
|
script/refresh_db
|
|
|
|
# temp directory for chef (used to configure vagrant VM)
|
|
chef/tmp/*
|