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
{{ message }}
Repository navigation
Commit 754c506
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+32-5Lines changed: 32 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,12 +2,39 @@
2
2
3
3
It means so much that you're interested in contributing to Maybe! Seriously. Thank you. The entire community benefits from these contributions!
4
4
5
-
Before submitting a new issue or PR, check if it already exists in [issues](https://github.com/maybe-finance/maybe/issues) or [PRs](https://github.com/maybe-finance/maybe/pulls) so you have an idea of where things stand.
5
+
## House Rules
6
6
7
-
Then, once you're ready to begin work, submit a draft PR with your high-level plan (or the full solution).
7
+
- Before contributing, please check if it already exists in [issues](https://github.com/maybe-finance/maybe/issues) or [PRs](https://github.com/maybe-finance/maybe/pulls)
8
+
- Given the speed at which we're moving on the codebase, we don't assign issues or "give" issues to anyone.
9
+
- When multiple PRs are submitted for the same issue, we take the one that most succinctly & efficiently solves a given problem and stays within the scope of work.
10
+
- Priority is generally given to previous committers as they've proven familiarity with the codebase and product.
8
11
9
-
Given the speed at which we're moving on the codebase, we don't assign issues or "give" issues to anyone.
12
+
## What should I contribute?
10
13
11
-
When multiple PRs are submitted for the same issue, we take the one that most succinctly & efficiently solves a given problem and stays within the scope of work.
14
+
As we are still in the early days of this project, we recommend [heading over to the Wiki](https://github.com/maybe-finance/maybe/wiki) to get a better idea of _what_ to contribute.
12
15
13
-
Priority is also generally given to previous committers as they've proven familiarity with the codebase and product.
16
+
In general, _full features_ that get us closer to [our Vision](https://github.com/maybe-finance/maybe/wiki/Vision) are the most valuable contributions at this stage.
17
+
18
+
## Development
19
+
20
+
### Setup
21
+
22
+
To get setup for local development, you have two options:
23
+
24
+
1.[Dev Containers](https://code.visualstudio.com/docs/devcontainers/containers) with VSCode (see the `.devcontainer` folder)
2. Create your feature branch (`git checkout -b my-new-feature`)
34
+
3. Commit your changes (`git commit -am 'Add some feature'`)
35
+
4. Push to the branch (`git push origin my-new-feature`)
36
+
5. Create new Pull Request, and be sure to check the [Allow edits from maintainers](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/working-with-forks/allowing-changes-to-a-pull-request-branch-created-from-a-fork) option while creating your PR. This allows maintainers to collaborate with you on your PR if needed.
37
+
6. If possible, [link your pull request to an issue](https://docs.github.com/en/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue#linking-a-pull-request-to-an-issue-using-a-keyword) by adding the appropriate keyword (e.g. `fixes issue #XXX`)
38
+
7. Before requesting a review, please make sure that all [Github Checks](https://docs.github.com/en/rest/checks?apiVersion=2022-11-28) have passed and your branch is up-to-date with the `main` branch. After doing so, request a review and wait for a maintainer's approval.
Copy file name to clipboardExpand all lines: README.md
+35-26Lines changed: 35 additions & 26 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,56 +26,65 @@ We're now building the app in Ruby on Rails. We realize that's a controversial c
26
26
27
27
From the start our focus with this is to make it as easy as possible for you to both contribute to and deploy the app, and this move to Rails is a big part of that.
28
28
29
-
## Codebase
29
+
## Local Development Setup
30
30
31
-
The codebase is vanilla [Rails](https://rubyonrails.org/) and [Postgres](https://www.postgresql.org/). Quite a simple setup.
After cloning the repo, the basic setup commands are:
36
37
37
-
- ruby >3 (specific version is in `Gemfile`)
38
-
- postgresql (if using stock `config/database.yml`)
39
-
40
-
If you prefer devcontainer, this project supports it (entirely optional).
41
-
42
-
Run the following commands after cloning the repo:
43
-
44
-
```shell
38
+
```sh
45
39
cd maybe
46
40
cp .env.example .env
47
41
bundle install
48
42
rails db:setup
49
43
bin/dev
50
44
```
51
45
52
-
And visit [http://localhost:3000](http://localhost:3000)
46
+
And visit http://localhost:3000 to see the app. You can use the following credentials to log in (generated by DB seed):
47
+
48
+
Email: user@maybe.local
49
+
Password: password
50
+
51
+
For further instructions, see guides below.
52
+
53
+
### Setup Guides
54
+
55
+
#### Dev Container (optional)
56
+
57
+
This is 100% optional and meant for devs who don't want to worry about installing requirements manually for their platform. You can follow [this guide](https://code.visualstudio.com/docs/devcontainers/containers) to learn more about Dev Containers.
58
+
59
+
#### Mac
60
+
61
+
Please visit our [Mac dev setup guide](https://github.com/maybe-finance/maybe/wiki/Mac-Dev-Setup-Guide).
62
+
63
+
#### Linux
64
+
65
+
Please visit our [Linux dev setup guide](https://github.com/maybe-finance/maybe/wiki/Linux-Dev-Setup-Guide).
53
66
54
-
###Email
67
+
#### Windows
55
68
56
-
In development, we use `letter_opener` to automatically open emails in your browser. However, if you self-host, you'll likely want some basic email sending abilities.
69
+
Please visit our [Windows dev setup guide](https://github.com/maybe-finance/maybe/wiki/Windows-Dev-Setup-Guide).
57
70
58
-
You can use any SMTP-based mail service and then simply drop in your SMTP credentials in the `.env` file.
71
+
### Testing Emails
59
72
60
-
[Resend](https://resend.com) is a great option for personal use as they have a very generous free plan.
73
+
In development, we use `letter_opener` to automatically open emails in your browser. When an email sends locally, a new browser tab will open with a preview.
61
74
62
75
## Contributing
63
76
64
77
Before contributing, you'll likely find it helpful to [understand context and general vision/direction](https://github.com/maybe-finance/maybe/wiki).
65
78
66
-
It's still very early days for this so your mileage will vary here and lots of things will break.
79
+
Once you've done that, please visit our [contributing guide](https://github.com/maybe-finance/maybe/blob/main/CONTRIBUTING.md) to get started!
67
80
68
-
But almost any contribution will be beneficial at this point. Check the [current Issues](https://github.com/maybe-finance/maybe/issues) to see where you can jump in!
81
+
## Self Hosting
69
82
70
-
If you've got an improvement, just send in a pull request!
83
+
Our long term goal is to make self-hosting as easy as possible. That said, during these early stages of building the product, we are focusing our efforts on development.
71
84
72
-
1. Fork it
73
-
2. Create your feature branch (`git checkout -b my-new-feature`)
74
-
3. Commit your changes (`git commit -am 'Add some feature'`)
75
-
4. Push to the branch (`git push origin my-new-feature`)
76
-
5. Create new Pull Request
85
+
We will update this section as we get closer to an initial release.
77
86
78
-
If you've got feature ideas, simply [open a new issue](https://github.com/maybe-finance/maybe/issues/new)!
87
+
Please see our [guide on self hosting here](https://github.com/maybe-finance/maybe/wiki/Self-Hosting-Setup-Guide).
0 commit comments