mirror of
https://github.com/discourse/discourse.git
synced 2024-11-22 13:09:18 +08:00
4db3f53c87
This PR is intended to work in concert with the discourse_docker changes in https://github.com/discourse/discourse_docker/pull/292. I have used those changes to build a local "discourse_dev" image, and then _**these**_ changes to easily spin up and work on Discourse and plugin functionality. It's working well for me, but of course YMMV. Add `--init` and `--patch` options to bin/docker/boot_dev to make it easier to spin up a container running Discourse out of a development directory. Add `bin/docker/README.md` to explain how to go about using the docker command-line tools. Tweak the Docker command-line tools to use the `-u` option to specify user rather than changing to the user "inside" the container via `chpst` (This way, we don't have to explicitly specify the HOME environment variable, either.) Add `bin/docker/shell` command to make it easy to jump inside the running container.
110 lines
1.9 KiB
Plaintext
110 lines
1.9 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
|
|
|
|
.DS_Store
|
|
._.DS_Store
|
|
dump.rdb
|
|
|
|
.sass-cache/*
|
|
public/csv/*
|
|
public/plugins/*
|
|
public/tombstone/*
|
|
|
|
# Ignore bundler config
|
|
/.bundle
|
|
/.vagrant
|
|
/.vagrantfile
|
|
/cache
|
|
/coverage/*
|
|
|
|
/public/assets/*
|
|
/public/tombstone/*
|
|
/bundle/*
|
|
|
|
config/discourse.pill
|
|
config/discourse.conf
|
|
|
|
# Ignore the default SQLite database and db dumps
|
|
/db/*.sqlite3
|
|
/dbs/*.sql
|
|
/dbs/*.sql.gz
|
|
/db/structure.sql
|
|
|
|
# Ignore all logfiles and tempfiles.
|
|
/log/*.log
|
|
/tmp
|
|
/logfile
|
|
log/
|
|
|
|
# Ignore plugins except for the bundled ones.
|
|
/plugins/*
|
|
!/plugins/emoji/
|
|
!/plugins/lazyYT/
|
|
!/plugins/poll/
|
|
!/plugins/discourse-details/
|
|
!/plugins/discourse-nginx-performance-report
|
|
/plugins/*/auto_generated/
|
|
|
|
/spec/fixtures/plugins/my_plugin/auto_generated
|
|
|
|
# Ignore Eclipse .project file
|
|
/.project
|
|
|
|
# Ignore Eclipse .buildpath file
|
|
/.buildpath
|
|
|
|
# Ignore byebug history
|
|
/.byebug_history
|
|
|
|
# Ignore RubyMine settings
|
|
/.idea
|
|
|
|
# Ignore gem that is copied in
|
|
MiniProfiler/Ruby/rack-mini-profiler-2.0.1a.gem
|
|
|
|
discourse.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/backups
|
|
/public/stylesheet-cache/*
|
|
|
|
# Scripts used for downloading/refreshing db
|
|
script/download_db
|
|
script/refresh_db
|
|
|
|
# temp directory for chef (used to configure vagrant VM)
|
|
chef/tmp/*
|
|
|
|
# .procfile
|
|
.procfile
|
|
|
|
# .env, local environment variables for use with foreman
|
|
.env
|
|
|
|
# exclude our git version file for now
|
|
config/version.rb
|
|
|
|
# ignore the Ruby Version manager (rvm)
|
|
.rvmrc
|
|
.ruby-version
|
|
.ruby-gemset
|
|
.rbenv
|
|
bundler_stubs/*
|
|
|
|
vendor/bundle/*
|
|
*.db
|