Design comparison
Solution retrospective
Hello everyone! is there a way i could have all my solution in one repos on github?
Community feedback
- @elaineleungPosted over 2 years ago
Hi Abdulazeez, I think it's possible since that's what I do on my repo. It helps me to have a collection of all the challenges I've done, even the ones built using React, but I would deploy them on a different repo. You can check out my repository here: https://github.com/elaineleung/frontendmentor
1@MUBARAHKAHPosted over 2 years agoAmazing! have checked out your repository and it was quite organized, can you help out on how you are able to achieve that? @elaineleung
0@elaineleungPosted over 2 years ago@MUBARAHKAH I normally just download the zip file and extract the contents into a new folder into my repo (or in other words just copy the folder to the repo), and then do all my work in there. It's basically a subdirectory of the repo. After I finish the challenge and finish writing the README of the challenge, I'd update the README of my repo with new links (that's the table you see that is in the repo's README). I think that's about it, pretty straightforward!
0@MUBARAHKAHPosted over 2 years agoAppreciate you @elaineleung but honestly, I don't think I get it!
0@elaineleungPosted over 2 years ago@MUBARAHKAH I'm not sure how you are using GitHub (e.g., desktop UI, VS Code, or just terminal), but since you do have repos in your GitHub, I assume that you already know how to set up a new repo and push to GitHub. In that case, what you can do first is set up a new repo (maybe call it "frontendmentor"). If you use the terminal like I do, then
cd
into the newfrontendmentor
folder, and for the existing repos you have, just clone them into this new folder (if you need instructions for that, check out Cameron's quick video tutorial here). You can also follow GitHub instructions if you so choose. Then when you start a new challenge, just copy the downloaded folder in the zip file and then paste it into the new repo.I know Git is pretty challenging as I've made many mistakes also, and it's also challenging for me to try to explain it without showing you visually, but hopefully the links above could help a bit. Good luck!
0@MUBARAHKAHPosted over 2 years agoYou are so amazing!@elaineleung, I appreciate every bit of your effort, but, is it possible to have a different live site URL for each through this process?
0@elaineleungPosted over 2 years ago@MUBARAHKAH I have all my projects on the same site, where it's https://elaineleung.github.io/frontendmentor/, and my solutions would just be the folder name I use; the folders are all in the parent directory of the repository, so the live sites are just like this:
https://elaineleung.github.io/frontendmentor/statspreview/ https://elaineleung.github.io/frontendmentor/huddlelandingpage/ https://elaineleung.github.io/frontendmentor/advicegeneratorapp/
You just have to set it up in GitHub pages in the repository.
If you want different sites but still have all the challenges in the one main repository folder, you may have to find a service that allows you to deploy a specific folder in the repository instead of the whole repo itself, or you can clone your folder into a new repository just for deployment.
0
Please log in to post a comment
Log in with GitHubJoin our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord