Skip to content
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

feat(Docs): Development guide #57

Merged
merged 2 commits into from
Jun 13, 2018
Merged

feat(Docs): Development guide #57

merged 2 commits into from
Jun 13, 2018

Conversation

stephenburgess8
Copy link
Contributor

Hey - very rough first draft with some more detailed instructions to help with first time contributors. Feel free to jump in and edit yourself if you want to make some changes. Otherwise open to suggestions, corrections, or different ways of doing things. Ideally eventually this would also have Linux and Windows specific instructions. Also eventually it would be nice to break this out into a Development guide as well as a Contributing guide. Once this is in good shape, we can remove some of the duplicate information from the README.md and maybe just add a link.

Besides just having a little more detail, the main difference between this and the existing instructions are that I needed to set the --database-url='postgres://localhost/plume'for diesel setup and diesel migration.

Copy link
Member

@elegaanz elegaanz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great! Thank you for documenting this. Just have left two comments.

DEVELOPMENT.md Outdated
diesel setup --database-url='postgres://localhost/plume'
diesel migration run --database-url='postgres://localhost/plume'
```
#### Configuration
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this part should be moved after "Running Plume"

DEVELOPMENT.md Outdated
git remote add upstream https://github.com/myname/Plume.git
```
Now, make any changes to the code you want. After committing your changes, push to the upstream fork. Once your changes are made, visit the GitHub page for your fork and select "Make Pull Request". Add descriptive text, any issue numbers using hashtags to reference the issue number, screenshots of your changes if relevant, a description of how you tested your changes, and any other information that will help the project maintainers be able to quickly accept your pull requests.
The project maintainers may suggestion further changes to improve the pull request even more. After implementing this locally, you can push to your upstream fork again and the changes will immediately show up in the pull request after pushing. Once all the suggested changes are made, the pull request may be accepted. Thanks for contributing.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't know if you wanted to create a new paragraph here, but if you did, you should make sure to add a blank line between the two paragraphs.

@elegaanz
Copy link
Member

Besides just having a little more detail, the main difference between this and the existing instructions are that I needed to set the --database-url='postgres://localhost/plume' for diesel setup and diesel migration

Yes, when I wrote the instructions in the README, we had a .env file to tell diesel where to find the database, but we deleted it to use our own environment variables and make it easier to test the federation locally.

Copy link
Member

@elegaanz elegaanz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@stephenburgess8
Copy link
Contributor Author

Cool!. Removing the content from README.md leaves it feeling a little light. I'm trying to think of more stuff to put there. Je voudrais polir le UI suivante. I would like to work on bringing some polish to the UI next if you think that's a good idea. After that we could add some screenshots.

@elegaanz
Copy link
Member

Yes, the README is a bit short now. But that's not a real problem I think 🤷‍♂️

If you want to work on the UI, keep in mind that that a redesign have been started in #31, so it may be better to wait for this branch to be merged before (the requested changes should be made soon, normally, so it will probably be merged in a few days).

@elegaanz elegaanz merged commit a2efc04 into Plume-org:master Jun 13, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants