-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: update .env.tpl
to sensible defaults for local dev
#43
Conversation
I think developers should default to using staging, since with the addition of plan gating on the client and server they will otherwise need to enter real credit card information to do basic development. In staging they'll still need to go through the checkout flow, but can use fake credit card information (ie 4242 4242 4242 4242 and others listed at https://stripe.com/docs/testing?testing-method=card-numbers) I've also updated to the "test mode" Stripe pricing table that redirects to localhost:3000 - the previously specified pricing table redirects to staging after checkout is complete
Website preview 🔗✨ |
staging still needs to redirect to staging tho! do we need a staging stripe account? |
yep! no worries - we use separate price tables for localhost and staging, so it will continue to work as it does now with no probs |
🤖 I have created a release *beep* *boop* --- ## 1.0.0 (2023-11-29) ### Features * add logout page ([#42](#42)) ([654453d](654453d)) * add placeholder for storage providers ([48716a6](48716a6)) * add space route ([#10](#10)) ([eeb11c6](eeb11c6)) * add stripe pricing table config ([#41](#41)) ([f9c772e](f9c772e)) * add test command ([7c9f41a](7c9f41a)) * first pass at a plans page ([#8](#8)) ([fdcebde](fdcebde)) * fix SpaceFinder and improve nav ([#16](#16)) ([94bcfe4](94bcfe4)) * gate access to the site on having a Stripe plan ([#15](#15)) ([8ddf093](8ddf093)) * get .github set up ([b6f0a9a](b6f0a9a)) * nice button group, space list, and space create explainer ([#14](#14)) ([9755f89](9755f89)) * plan gate styles ([#40](#40)) ([88823ca](88823ca)) * tweaks to plans to make more lovely ([#9](#9)) ([46d930c](46d930c)) * usage bar ([#39](#39)) ([9db653c](9db653c)) * use new w3ui ([#48](#48)) ([4430db3](4430db3)) ### Bug Fixes * add necessary cloudflare deploy config ([07047e2](07047e2)) * avoid janky re-renders when navigating from / ([#44](#44)) ([1b428c4](1b428c4)) * get W3UP_PROVIDER set properly ([f65ebb9](f65ebb9)) * iron out a few styling kinks ([#5](#5)) ([8d0b37a](8d0b37a)) * links ([f66dd6d](f66dd6d)) * lint ([525e74e](525e74e)) * make loader less ugly ([bfa55ca](bfa55ca)) * make the website work ([a19e540](a19e540)) * package.json uses next ^13.5.4 not latest ([#12](#12)) ([056debe](056debe)) * remove console.log ([9d27917](9d27917)) * remove project I accidentally checked in ([6c6b0ea](6c6b0ea)) * tailwind to check entire src tree for clases ([#7](#7)) ([dcc5de1](dcc5de1)) * type issues ([f47b9bc](f47b9bc)) * update dependencies ([7fd007d](7fd007d)) * use the correct build command ([e08304e](e08304e)) ### Other Changes * add documentation for running against a development service ([#11](#11)) ([8f31e35](8f31e35)) * add line to README to trigger/test a new release ([#28](#28)) ([0e18073](0e18073)) * add line to README.md to trigger deploy ([df63608](df63608)) * fix deps ([fa59625](fa59625)) * fix prod env url to be console.web3.storage ([#34](#34)) ([aadb538](aadb538)) * **main:** release w3up-website 1.0.0 ([38415af](38415af)) * **main:** release w3up-website 1.1.0 ([#4](#4)) ([aa11eb6](aa11eb6)) * **main:** release w3up-website 1.1.1 ([#29](#29)) ([86ee1e8](86ee1e8)) * **main:** release w3up-website 1.1.2 ([#32](#32)) ([ff91a3b](ff91a3b)) * **main:** release w3up-website 1.2.0 ([#36](#36)) ([ab4bdb9](ab4bdb9)) * update `.env.tpl` to sensible defaults for local dev ([#43](#43)) ([2865d06](2865d06)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
🤖 I have created a release *beep* *boop* --- ## 1.0.0 (2023-11-29) ### Features * add logout page ([#42](storacha/console#42)) ([654453d](storacha/console@654453d)) * add placeholder for storage providers ([48716a6](storacha/console@48716a6)) * add space route ([#10](storacha/console#10)) ([eeb11c6](storacha/console@eeb11c6)) * add stripe pricing table config ([#41](storacha/console#41)) ([f9c772e](storacha/console@f9c772e)) * add test command ([7c9f41a](storacha/console@7c9f41a)) * first pass at a plans page ([#8](storacha/console#8)) ([fdcebde](storacha/console@fdcebde)) * fix SpaceFinder and improve nav ([#16](storacha/console#16)) ([94bcfe4](storacha/console@94bcfe4)) * gate access to the site on having a Stripe plan ([#15](storacha/console#15)) ([8ddf093](storacha/console@8ddf093)) * get .github set up ([b6f0a9a](storacha/console@b6f0a9a)) * nice button group, space list, and space create explainer ([#14](storacha/console#14)) ([9755f89](storacha/console@9755f89)) * plan gate styles ([#40](storacha/console#40)) ([88823ca](storacha/console@88823ca)) * tweaks to plans to make more lovely ([#9](storacha/console#9)) ([46d930c](storacha/console@46d930c)) * usage bar ([#39](storacha/console#39)) ([9db653c](storacha/console@9db653c)) * use new w3ui ([#48](storacha/console#48)) ([4430db3](storacha/console@4430db3)) ### Bug Fixes * add necessary cloudflare deploy config ([07047e2](storacha/console@07047e2)) * avoid janky re-renders when navigating from / ([#44](storacha/console#44)) ([1b428c4](storacha/console@1b428c4)) * get W3UP_PROVIDER set properly ([f65ebb9](storacha/console@f65ebb9)) * iron out a few styling kinks ([#5](storacha/console#5)) ([8d0b37a](storacha/console@8d0b37a)) * links ([f66dd6d](storacha/console@f66dd6d)) * lint ([525e74e](storacha/console@525e74e)) * make loader less ugly ([bfa55ca](storacha/console@bfa55ca)) * make the website work ([a19e540](storacha/console@a19e540)) * package.json uses next ^13.5.4 not latest ([#12](storacha/console#12)) ([056debe](storacha/console@056debe)) * remove console.log ([9d27917](storacha/console@9d27917)) * remove project I accidentally checked in ([6c6b0ea](storacha/console@6c6b0ea)) * tailwind to check entire src tree for clases ([#7](storacha/console#7)) ([dcc5de1](storacha/console@dcc5de1)) * type issues ([f47b9bc](storacha/console@f47b9bc)) * update dependencies ([7fd007d](storacha/console@7fd007d)) * use the correct build command ([e08304e](storacha/console@e08304e)) ### Other Changes * add documentation for running against a development service ([#11](storacha/console#11)) ([8f31e35](storacha/console@8f31e35)) * add line to README to trigger/test a new release ([#28](storacha/console#28)) ([0e18073](storacha/console@0e18073)) * add line to README.md to trigger deploy ([df63608](storacha/console@df63608)) * fix deps ([fa59625](storacha/console@fa59625)) * fix prod env url to be console.web3.storage ([#34](storacha/console#34)) ([aadb538](storacha/console@aadb538)) * **main:** release w3up-website 1.0.0 ([38415af](storacha/console@38415af)) * **main:** release w3up-website 1.1.0 ([#4](storacha/console#4)) ([aa11eb6](storacha/console@aa11eb6)) * **main:** release w3up-website 1.1.1 ([#29](storacha/console#29)) ([86ee1e8](storacha/console@86ee1e8)) * **main:** release w3up-website 1.1.2 ([#32](storacha/console#32)) ([ff91a3b](storacha/console@ff91a3b)) * **main:** release w3up-website 1.2.0 ([#36](storacha/console#36)) ([ab4bdb9](storacha/console@ab4bdb9)) * update `.env.tpl` to sensible defaults for local dev ([#43](storacha/console#43)) ([2865d06](storacha/console@2865d06)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
I think developers should default to using staging, since with the addition of plan gating on the client and server they will otherwise need to enter real credit card information to do basic development. In staging they'll still need to go through the checkout flow, but can use fake credit card information (ie 4242 4242 4242 4242 and others listed at https://stripe.com/docs/testing?testing-method=card-numbers)
I've also updated to the "test mode" Stripe pricing table that redirects to localhost:3000 - the previously specified pricing table redirects to staging after checkout is complete