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

How to set up a local dev environment #34

Closed
kytrinyx opened this issue Dec 4, 2014 · 7 comments
Closed

How to set up a local dev environment #34

kytrinyx opened this issue Dec 4, 2014 · 7 comments

Comments

@kytrinyx
Copy link
Member

kytrinyx commented Dec 4, 2014

See issue exercism/exercism#2092 for an overview of operation welcome contributors.


Provide instructions on how to contribute patches to the exercism test suites
and examples: dependencies, running the tests, what gets tested on Travis-CI,
etc.

The contributing document
in the x-api repository describes how all the language tracks are put
together, as well as details about the common metadata, and high-level
information about contributing to existing problems, or adding new problems.

The README here should be language-specific, and can point to the contributing
guide for more context.

From the OpenHatch guide:

Here are common elements of setting up a development environment you’ll want your guide to address:

Preparing their computer
Make sure they’re familiar with their operating system’s tools, such as the terminal/command prompt. You can do this by linking to a tutorial and asking contributors to make sure they understand it. There are usually great tutorials already out there - OpenHatch’s command line tutorial can be found here.
If contributors need to set up a virtual environment, access a virtual machine, or download a specific development kit, give them instructions on how to do so.
List any dependencies needed to run your project, and how to install them. If there are good installation guides for those dependencies, link to them.

Downloading the source
Give detailed instructions on how to download the source of the project, including common missteps or obstacles.

How to view/test changes
Give instructions on how to view and test the changes they’ve made. This may vary depending on what they’ve changed, but do your best to cover common changes. This can be as simple as viewing an html document in a browser, but may be more complicated.

Installation will often differ depending on the operating system of the contributor. You will probably need to create separate instructions in various parts of your guide for Windows, Mac and Linux users. If you only want to support development on a single operating system, make sure that is clear to users, ideally in the top-level documentation.

@mayppong
Copy link

I use virtualbox and vagrant pretty heavy when it comes to these kind of project. You can see my Vagrantfile here:
https://github.com/mayppong/exercism/blob/master/Vagrantfile

Spoiler alert: it's linked to my exercism repo where I also keep my works.

@kytrinyx
Copy link
Member Author

@mayppong You use this when setting up exercism/xelixir to submit patches to the repository?

@mayppong
Copy link

I'm not currently working on any patches for xelixir. I'm only taking the exercises right now. I think it's functionally the same though, between developing the exercises or taking them. I don't see why a new developer wanting to write a new exercise for xelixir can't use this.

@kytrinyx
Copy link
Member Author

Yepp, cool. I'll leave the issue open so that the elixir track maintainers can take a look. Thanks!

@mayppong
Copy link

No problem! Please let me know if the maintainer would like me to clean this up and submit it as a PR as well. I'd be happy to do that if they see value in it.

@Teapane
Copy link
Contributor

Teapane commented Feb 6, 2016

Does @parkerl's Pull Request finish this issue? The README has pretty clear instructions on contributing as well as installation. Is there anything else you would like to add?

Edit I am happy to add to it if there are additional requirements.

@kytrinyx
Copy link
Member Author

kytrinyx commented Feb 7, 2016

I think it does address it. I'll close this--let's reopen it if there are specific suggestions for improvement or specific things that seem unclear.

@kytrinyx kytrinyx closed this as completed Feb 7, 2016
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

No branches or pull requests

3 participants