staging

Adding a staging environment to the workflow [closed]

余生颓废 提交于 2019-12-29 14:15:50
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 5 years ago . I currently have two environments in which I work: development locally and production on Heroku. I would like to add a staging environment on Heroku to see that everything goes as expected before pushing the app live to users. Preferably, the staging environment should have the

How do I stage all files at once in Git Gui?

谁说胖子不能爱 提交于 2019-12-28 16:30:30
问题 I have just created a GIT on a folder. I now want to add the contents of that folder by "staging" all the files. In the GUI, is there a way to select all the files. I have well over 4000 files and clicking one at a time is proving to be a bit of a pain. 回答1: Yes , Select the items (select top one hit shift, select bottom one) and hit CTRL T Or go to commit -> stage to commit 回答2: Quite late, but one method is to add an option in the 'Tools' menu. Click 'Tools'>Add... Name it whatever you want

how show the diff from my current working directory and my last commit?

▼魔方 西西 提交于 2019-12-23 12:07:43
问题 I'm using git and need included in the diff result untracked files. So what command I must execute to get all the difference between my current working directory and the HEAD, even part of the difference exist in the new file addition? 回答1: Um, git diff ? That's what it does, after all. Update: "Files that aren't in the staged area" doesn't mean "untracked files". Those are two, separate categories. A file or change becomes "staged" when you git add it. Untracked files are ones that aren't

What is the main purpose and sense to have staging server the same as production?

怎甘沉沦 提交于 2019-12-22 07:51:59
问题 In our company we have staging and production servers. I'm trying to have them in state 1:1 after latest release. We've got web application running on several host and many instances of it. The issue is that I am an advocate of having the same architecture (structure) of web applications on staging and production servers to easily test new features and avoid creating of new bugs with new releases. But not everyone agree with me, and for them is not a such big deal to have different connection

Running test on Production Code/Server

你离开我真会死。 提交于 2019-12-22 07:38:27
问题 I'm relatively inexperienced when it comes to Unit Testing/Automated Testing, so pardon the question if it doesn't make any sense. The current code base I'm working on is so tightly coupled that I'll need to refactor most of the code before ever being able to run unit tests on it, so I read some posts and discovered Selenium, which I think is a really cool program. My client would like specific automated tests to run every ten minutes on our production server to ensure that our site is

Running test on Production Code/Server

馋奶兔 提交于 2019-12-22 07:37:45
问题 I'm relatively inexperienced when it comes to Unit Testing/Automated Testing, so pardon the question if it doesn't make any sense. The current code base I'm working on is so tightly coupled that I'll need to refactor most of the code before ever being able to run unit tests on it, so I read some posts and discovered Selenium, which I think is a really cool program. My client would like specific automated tests to run every ten minutes on our production server to ensure that our site is

Problem with modified files showing up in Git but not updating?

雨燕双飞 提交于 2019-12-22 04:04:45
问题 I've got some files/folders that just wont leave the Git staging area? # On branch master # Changed but not updated: # (use "git add <file>..." to update what will be committed) # (use "git checkout -- <file>..." to discard changes in working directory) # (commit or discard the untracked or modified content in submodules) # # modified: JavaScript/Stand.ard.iz.er (modified content, untracked content) # modified: Site (untracked content) # modified: Template Archives/Template (modified content,

Staging setup with couchdb

别说谁变了你拦得住时间么 提交于 2019-12-20 07:29:03
问题 I have a production server running an app that uses CouchDB as its main database. I'd like to set up a staging server that has a CouchDB instance that I can always sync back up to the production instance and get a clean copy. A naive solution would be simply to have the staging server continuously replicate the production server's database, and just use that. The problem of course is that in the course of testing on the staging server, I may do things that modify the database. Functionally

Password protecting a rails staging environment

本秂侑毒 提交于 2019-12-18 12:30:11
问题 I'm trying to work out what the best way to secure my staging environment would be. Currently I'm running both staging and production on the same server. The two options I can think of would be to: Use rails digest authentication I could put something like this in the application_controller.rb # Password protection for staging environment if RAILS_ENV == 'staging' before_filter :authenticate_for_staging end def authenticate_for_staging success = authenticate_or_request_with_http_digest(

Disable git staging area

好久不见. 提交于 2019-12-18 05:34:10
问题 I really don't like the git staging area, it just makes my life unnecessarily confusing. Is it possible to disable it so that all edited and new files are in a single context? So that git diff shows the diff between the repository and my working directory (and I don't have to also type git diff --cached) and so that git ci checks in my whole working copy (not just the part that's staged). If not, alternatives (like setting up cofigurations) so that it appears that I don't have a staging are