Anthony Posted February 1 Share Posted February 1 Github is version control for your code, this is how you can program and backup your code, role back to earlier versions etc.. The task for this week would be to get your first Javascript program up and running, the avatar creator. Step 1: Visit Github and create your account. https://github.com/ Step 2: Visit the Hackweek-avatar-maker repositiory and Fork a version to your account. https://github.com/mozilla/hackweek-avatar-maker Forking is when you make a copy of code that is already publicly available and you can use that as a basis for working on your own. Step 3:Now you have forked the Repository you will need need to make sure that you have all the tools on your PC ready for development. 1) Your IDE (Integrated Development Environment) - We recommend using VSCode this is the leading tool that programmers use when making software and it comes with many interesting plugins that can help you when coding such as syntax highlighter and error checker. https://code.visualstudio.com/ 2) Github Client, now you are a developer you will need the tools of developers! That means we need to get our hands on the Github client so that we cam get access to the millions of free programs out there on the web. 3) We will be learning NodeJS! The funny thing is this Avatar project also runs on NodeJS so naturally you will need it installed too.. https://nodejs.org/en/ Step 4: Assuming that you have your Github account, Your IDE ready and also the Github client you can now start forking code. Process is as follows: For every public project that you will find out there on the web there are 2 very important metrics to look out for. Stars and Issues. Stars is how many people 'like' the project, generally the more stars a project has then the more popular it is, and issues tab. Issues tab is for when someone has a particular issue with an open source project they can post an issue about it to get help from the wider community. So yes assuming you got everything its actually very simple to run a program that is based on NodeJS such as the avatar make. i. Open your Documents ii. Open up a terminate window and do the command git clone https://github.com/mozilla/hackweek-avatar-maker.git iii. Give it some time it will download the full project into your document folder iv. After everything is ready do the command npm install when using NodeJs this is the step that downloads all of the program dependencies as defined in the package.json file (you can always tell if a project is 'Node' project if it has a package.json. v. Once all dependencies are installed you can run your program with npm start ------- As you can see this process is different to the first process you did when joining MetaScript, the next part of the course will be focusing on the fundamentals so we will be taking everything from ground up. Let me know if you need any help or any clarifications regarding the homework! Quote Link to comment Share on other sites More sharing options...
Walkabout Posted February 2 Share Posted February 2 A few weeks ago you listed 10 words we need to know. I was expecting you to go through them explaining each one but you haven't mentioned them again. Can you remind me what they were please? Quote Link to comment Share on other sites More sharing options...
Anthony Posted February 2 Author Share Posted February 2 Hello @Walkabout I believe this was in reference to the programming fundamentals: Algorithms and flow control structures (if-else, loops, etc.) Variables, data types, and data structures (strings, arrays, lists, etc.) Functions and procedures Object-Oriented Programming (OOP) concepts like classes, objects, inheritance, polymorphism, etc. Input and Output (I/O) operations File handling and storage management Exception handling and error management Debugging techniques Design patterns Database programming and SQL Networking and Web Development concepts Quote Link to comment Share on other sites More sharing options...
Walkabout Posted February 2 Share Posted February 2 Thank you. 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.