You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks so much for considering contributing to Open SaaS 🙏
2
2
3
+
## Considerations before Contributing
4
+
5
+
### General Considerations
6
+
1. If there's something you'd like to add, and the issue doesn't already exist, create a new one and assign yourself to it. Wait until we've agreed on a plan of action before beginning your work.
7
+
2. If the issue does already exist, and noone is assigned to it, assign yourself and feel free to begin working on it.
8
+
9
+
### How Users Get the Starter Template
10
+
11
+
We currently have two ways to pull the template:
12
+
1. the `use this template` button on the [repo homepage](https://github.com/wasp-lang/open-saas)
13
+
2. the [Wasp CLI's](https://wasp-lang.dev/docs/quick-start)`wasp new` command
14
+
15
+
When pulling the template via `wasp new`, the Wasp CLI looks for a tag `wasp-{CURRENT_VERSION}-template` associated with a specific commit on the Open SaaS repo.
16
+
17
+
In order to keep this tag up to date, we've created a github action, `.github/workflows/retag-commit.yml`, that automatically reassigns the tag (defined as `TAG_NAME` in the action) to the most recent commit on `main`.
18
+
19
+
**This means, that whenever a user pulls the template, they are getting the version present in the most recent commit on `main`**
20
+
21
+
Also, If we update Wasp to a new major version, we should also update the `TAG_NAME` in the action.
22
+
23
+
### The Default Template vs. the Deployed Site / Docs
24
+
25
+
There are two main branches for development:
26
+
-`main`
27
+
-`deployed-version`
28
+
29
+
The default, clean template that users get when cloning the starter lives on `main`, while `deployed-version` is what you see when you go to [OpenSaaS.sh](https://opensaas.sh) and the [docs](https://docs.opensaas.sh)
30
+
31
+
If you want to make changes to the default starter template, base feature branches and Pull Requests off of `main`
32
+
If you want to make changes to the OpenSaaS.sh site or it's Documentation, base feature branches and Pull Requests off of `deployed-version`
33
+
3
34
## How to contribute
4
35
Contributing is simple:
5
36
1. Make sure you've installed and run the app.
6
37
2. Find something you'd like to work on. Check out the [issues](https://github.com/wasp-lang/open-saas/issues) or contact us on the [Wasp Discord](https://discord.gg/aCamt5wCpS) to discuss.
7
-
3. If the issue doesn't already exist, create a new one and assign yourself to it.
8
-
4. Create a new branch for your work.
9
-
5. Make your changes.
10
-
6. Commit your changes.
11
-
7. Push your changes.
12
-
8. Create a pull request.
13
-
9. Pray to "Da Boi" while you wait for us to review your PR.
14
-
10. If you don't know who "Da Boi" is, head back to the [Wasp Discord](https://discord.gg/aCamt5wCpS) and ask around.
38
+
3. Create a new feature branch for your work. See [above](#the-default-template-vs-the-deployed-site--docs) for which branch to base your feature branch off of.
39
+
4. Create a pull request.
40
+
5. Make a "Da Boi" meme while you wait for us to review your PR.
41
+
6. If you don't know who "Da Boi" is, head back to the [Wasp Discord](https://discord.gg/aCamt5wCpS) and find out :)
Copy file name to clipboardExpand all lines: README.md
+31Lines changed: 31 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -39,7 +39,38 @@ Because we're using Wasp as the full-stack framework, we can leverage a lot of i
39
39
You also get access to Wasp's diverse, helpful community if you get stuck or need help.
40
40
- 🤝 [Wasp Discord](https://discord.gg/aCamt5wCpS)
41
41
42
+
## Getting Started
42
43
44
+
### Simple Instructions
45
+
46
+
First, to install the latest version of [Wasp](https://wasp.sh/) on macOS, Linux, or Windows with WSL, run the following command:
47
+
```bash
48
+
curl -sSL https://get.wasp-lang.dev/installer.sh | sh
49
+
```
50
+
51
+
Then, create a new SaaS app with the following command:
52
+
53
+
```bash
54
+
wasp new -t saas
55
+
```
56
+
57
+
This will clone a **clean copy of the Open SaaS template** into a new directory, and you can start building your SaaS app right away!
58
+
59
+
### Detailed Instructions
60
+
61
+
For everything you need to know about getting started and using this template, check out the [Open SaaS Docs](https://docs.opensaas.sh).
62
+
63
+
We've documented everything in great detail, including installation instructions, pulling updates to the template, guides for integrating services, SEO, deployment, and more. 🚀
64
+
65
+
## Changes & Contributions
43
66
Note that we've tried to get as many of the core features of a SaaS app into this template as possible, but there still might be some missing features or functionality.
44
67
45
68
We could always use some help tying up loose ends, so consider [contributing](https://github.com/wasp-lang/open-saas/blob/main/CONTRIBUTING.md)!
69
+
70
+
As there are a few things to know and consider when contributing, please make sure to read the [CONTRIBUTING.md](https://github.com/wasp-lang/open-saas/blob/main/CONTRIBUTING.md) in this Repo.
71
+
72
+
## Getting Help & Providing Feedback
73
+
74
+
There are two ways to get help or provide feedback (and we try to always respond quickly!):
75
+
1.[Open an issue](https://github.com/wasp-lang/open-saas/issues)
76
+
2.[Wasp Discord](https://discord.gg/aCamt5wCpS) -- please direct questions to the #🙋questions forum channel
Copy file name to clipboardExpand all lines: app/.env.server.example
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -5,9 +5,10 @@
5
5
6
6
# for testing, go to https://dashboard.stripe.com/test/apikeys and get a test stripe key that starts with "sk_test_..."
7
7
STRIPE_KEY=sk_test_...
8
-
# to create a test subscription, go to https://dashboard.stripe.com/test/products and click on + Add Product
8
+
# to create a test product, go to https://dashboard.stripe.com/test/products and click on + Add Product
9
9
HOBBY_SUBSCRIPTION_PRICE_ID=price_...
10
10
PRO_SUBSCRIPTION_PRICE_ID=price_...
11
+
CREDITS_PRICE_ID=price_...
11
12
# after downloading starting the stripe cli (https://stripe.com/docs/stripe-cli) with `stripe listen --forward-to localhost:3001/stripe-webhook` it will output your signing secret
0 commit comments