Skip to content

Commit c09e3a5

Browse files
authored
Remove the now unused private environment (#1756)
1 parent 9a33351 commit c09e3a5

File tree

7 files changed

+8
-95
lines changed

7 files changed

+8
-95
lines changed

.do/deploy.template.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ spec:
1919
- key: BUNDLE_WITHOUT
2020
scope: RUN_AND_BUILD_TIME
2121
type: GENERAL
22-
value: 'development:test:private'
22+
value: 'development:test'
2323
# Application Encryption Key
2424
- key: PWPUSH_MASTER_KEY
2525
scope: RUN_TIME

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ gem 'mysql2'
111111
gem 'pg'
112112
gem 'sqlite3', force_ruby_platform: true
113113

114-
group :production, :private do
114+
group :production do
115115
gem 'rack-throttle', '0.7.0'
116116
gem 'rack-timeout'
117117
end

Procfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
release: bundle exec rails db:migrate
22
web: bundle exec puma -C config/puma.rb
3-
internalweb: bundle exec puma -C config/puma.rb -e private
43
console: bundle exec rails console

README.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,9 @@ _or_
7373
# 💾 Run Your Own Instance
7474

7575
🎉 🎉 🎉
76-
76+
7777
__We've recently introduced a single universal container. Migration for existing users is easy - please refer to [the documentation here](https://github.com/pglombardo/PasswordPusher/wiki/How-to-migrate-to-the-Universal-Container).__
78-
78+
7979
🎉 🎉 🎉
8080

8181
_Note: Password Pusher can be largely configured by environment variables so after you pick your deployment method below, make sure to read [the configuration page](Configuration.md). Take particular attention in setting your own custom encryption key which isn't required but provides the best security for your instance._
@@ -176,13 +176,11 @@ git clone [email protected]:pglombardo/PasswordPusher.git
176176
cd PasswordPusher
177177
gem install bundler
178178

179-
export RAILS_ENV=private
180-
181179
bundle config set --local deployment 'true'
182180
bundle install --without development production test
183181
./bin/rails assets:precompile
184182
./bin/rails db:setup
185-
./bin/rails server --environment=private
183+
./bin/rails server
186184
```
187185

188186
Then view the site @ [http://localhost:5100/](http://localhost:5100/).
@@ -201,7 +199,7 @@ export RAILS_ENV=production
201199
# Update the following line to point to your Postgres (or MySQL/Mariadb) instance
202200
DATABASE_URL=postgresql://passwordpusher_user:passwordpusher_passwd@postgres:5432/passwordpusher_db
203201

204-
bundle install --without development private test
202+
bundle install --without development test
205203
./bin/rails assets:precompile
206204
./bin/rails db:setup
207205
./bin/rails server --environment=production

app.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"postdeploy": "bundle exec rake db:migrate"
1212
},
1313
"env": {
14-
"BUNDLE_WITHOUT": "development:test:private",
14+
"BUNDLE_WITHOUT": "development:test",
1515
"PWPUSH_MASTER_KEY": {
1616
"description": "Application Encryption Key",
1717
"generator": "secret"

config/environments/private.rb

Lines changed: 0 additions & 84 deletions
This file was deleted.

containers/docker/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Setting global arguments
2-
ARG BUNDLE_WITHOUT=development:test:private
2+
ARG BUNDLE_WITHOUT=development:test
33
ARG BUNDLE_DEPLOYMENT=true
44

55
FROM ruby:3.2-alpine AS build-env

0 commit comments

Comments
 (0)