Welcome to the Treehouse Community
Looking to learn something new?
elie kfouri2,389 Points
Dane ParchmentTreehouse Moderator 11,023 Points
While there are a multitude of ways to go about doing this, I believe that there are really only three ways to do this effectively.
- Utilize a version control repository to host the code for your project, that way others can view, download, and even collaboratively work on your code. The most popular version control software is git, and it's best repository and hosting service is github. I recommend you learn how to use these tools as they are valuable and in my honest opinion, essential for anyone trying to showcase their work on the web. In fact, companies during interviews like to see a programmer's github account so that they can see what kind of projects they have worked on and also see if they follow good programming standards.
- Purchase a domain (mygame.com for example) and use a web-hosting service (Like GoDaddy). This is another common way to showcase your work, it will require you to pay for a domain name (the url that you type into the search bar to go to a website) and then a web-host to actually host your files to that domain. Then you can create an actual portfolio website and place your game on their yourself.
- Utilize cloud-based services like AWT and Heroku to host your application on their cloud servers, you can do this for free but it requires a bit more knowledge and knowhow to get setup (especially in regards to git for Heroku), and the free versions limit the size that your application can be (along with putting the application to sleep every now and again).
I recommend you create a github account to accomplish the goal that you want to do. However, it will require your friends to have to download the code manually to run the application. Simply create an account at github and then follow the instructions when creating a new repository.
Also follow these instructions:
- Download Git and gitbash
- Go here and learn how to use the git command line to create, and push code to your newly created repository!
Hope that helps, if you need anymore information let me know!