summaryrefslogtreecommitdiffhomepage
path: root/rails-backend/.gitignore
diff options
context:
space:
mode:
Diffstat (limited to 'rails-backend/.gitignore')
-rw-r--r--rails-backend/.gitignore37
1 files changed, 37 insertions, 0 deletions
diff --git a/rails-backend/.gitignore b/rails-backend/.gitignore
new file mode 100644
index 0000000..752ce8c
--- /dev/null
+++ b/rails-backend/.gitignore
@@ -0,0 +1,37 @@
+# See https://help.github.com/articles/ignoring-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'
+
+# Ignore secrets
+/config/local_env.yml
+
+# Ignore bundler config.
+/.bundle
+
+# Ignore all environment files (except templates).
+**/.env*
+!*/.env*.erb
+**/env.toml
+
+# Ignore all logfiles and tempfiles.
+/log/*
+/tmp/*
+!/log/.keep
+!/tmp/.keep
+
+# Ignore pidfiles, but keep the directory.
+/tmp/pids/*
+!/tmp/pids/
+!/tmp/pids/.keep
+
+# Ignore storage (uploaded files in development and any SQLite databases).
+/storage/*
+!/storage/.keep
+/tmp/storage/*
+!/tmp/storage/
+!/tmp/storage/.keep
+
+# Ignore master key for decrypting credentials and more.
+/config/master.key