-
Notifications
You must be signed in to change notification settings - Fork 0
Getting Started
Tristin Wells edited this page May 20, 2015
·
10 revisions
- send invite for new account
- create a movie
- edit the movie
- view the movie
- Finder
- Terminal
- Spotlight Search
- iTerm
- open python shell
- intro on permissions (file and folder)
- user home directory vs root directory
- be abl to address the following commands do:
lsls -lamkdirrm -r "something"vi some-file.txtcat some-file.txtcd some/pathcd ..chmod g+w some-file.txtchown ubuntu:ubuntu some-file.txt
- Read an understand the following pages/videos:
Github is what we user for version control.
Be able to answer the following questions:
- what do the following commands do:
git checkoutgit fetchgit pullgit pushgit branch
- what's the difference between "git pull" and "git fetch"
- what's a branch?
- what's a fork?
- what's a pull request?
- learn the github markdown syntax:
- Go through the interactive github tutorial:
Eclipse is the IDE (integrated development environment) use to do our development.
Topics to cover:
- preferences
- pydev
- project explorer
- git repositories
Project management tightly integrated with github workflow.
Good for task and list of things to do not necessarily code related.
- open the shell in the terminal and write some simple commands
- create a new virtual environment
mkvirtualenvpython3 -m venv
- activate the venv
- install an app inside the venv
- deactivate the venv
Chrome dev tools will make web development so much easier.
Go through the Chrome devtools course online:
- Create a virtual environment called
py34that you will work from. - Create a new Github repository in your personal account name
django-tutorial. - Check out the
django-tutorialrepository to your local machine at~/github/django-tutorialand go through all parts of the django tutorial located at: - Once you have completed all parts of the tutorial, commit your changes to github repo.
- Upon successful completion of this task, you should have a working version of the django app that I can checkout and run on my machine.
- Create a new branch in the
django-tutorialrepo calledadding-tests. - Add the following tests for the
Pollmodel you created in the django tutorial. This file should be located at in thepollsapp atpolls/tests/test_models.py. (For some test examples, see all the files that are prefixed withtest_in https://github.com/InfoAgeTech/django-core/tree/master/tests):-
test_add_question: test that a poll was successfully created -
test_edit_question: test that editing a poll was successful -
test_delete_question: test that when a poll is deleted, the poll no longer exists in the database
-
- When you have finished writing the tests, create a pull request from your
adding-testsbranch to yourmasterbranch. - When you have submitted the pull request, let me know and I will review the code.
- Once I have reviewed your code and given you the ok, merge your pull request that you created.
- Your master branch will now have all the code from your.
Congratulations on completing the getting started document! You are now on your way to becoming a Django web developer!