Django for Designers/Laptop setup: Difference between revisions

From OpenHatch wiki
Content added Content deleted
imported>Paulproteus
No edit summary
 
(20 intermediate revisions by 3 users not shown)
Line 1: Line 1:
== Actual setup guide ==
== Steps to get set up ==


=== Goal #1: Set up git ===
* Install git


* [[/Windows git|Windows]]
* Make sure Python works
* [[/OSX git|OS X]]
* [[/Linux git|Linux]]


* Make sure they know how to launch a command prompt
=== Goal #2: Practice navigating the computer from a command prompt ===


* [[/Windows terminal navigation|Windows]]
* Make sure they have a text editor, and have it configured to Python with 4 spaces
* [[/OSX terminal navigation|OS X]]
* [[/Linux terminal navigation|Linux]]


=== Goal #3: Set up Python ===
* Make sure they have done the git clone


* [[/Windows set up Python|Windows]]
* Make sure they have a virtualenv created
* [[/OSX set up Python|OS X]]
* [[/Linux set up Python|Linux]]


=== Goal #4: Prepare a text editor ===
* Make sure they have installed the requirements.txt


* [[/Windows text editor|Windows]]
* Python robot TA checkoff
* [[/OSX text editor|OS X]]
* [[/Linux text editor|Linux]]


=== Goal #5: Prepare the workshop code, via git ===
(Optional; can be skipped)


* [[/Windows download|Windows]]
* Make sure they have a Heroku account, and have the software installed
* [[/OSX download|OS X]]
* [[/Linux download|Linux]]


=== Goal #6: Create a special Python environment for the workshop ===
* Make sure they have a Github account


* [[/Windows virtualenv|Windows]]
== Setup guide, for instructors ==
* [[/OSX virtualenv|OS X]]
* [[/Linux virtualenv|Linux]]


=== Goal #7: Checkoff ===
* Provide a printed check-off sheet, and have TAs roam around and make sure students demo the check-off sheet


Demonstrate to your own satisfaction that the following things work:
== Asheesh questions ==


# You can open a command prompt.
<pre>
# You can use ''cd'' to get around.
# You can run ''git'' and see a help message (rather than "Command not found").
# You can run ''python'' in the command prompt.
# You have a text editor configured to use spaces to indent instead of tabs.
# You have done the ''git clone'' command to get the workshop code.
# You have a ''virtualenv'' where you have installed the workshop's dependencies.


Then enter:
$ git branch my-branch-1


[[Django_for_Designers/Starting_our_project|Next page]]
</pre>

* Did you forget "git checkout"?

* TA guide should have instructions for addressing:
** If the student can't push during the Sharing section, and it is because they worked on local master, have them rename the branch
** do github in sharing

* get some TAs

Latest revision as of 04:31, 9 January 2014

Steps to get set up

Goal #1: Set up git

Goal #2: Practice navigating the computer from a command prompt

Goal #3: Set up Python

Goal #4: Prepare a text editor

Goal #5: Prepare the workshop code, via git

Goal #6: Create a special Python environment for the workshop

Goal #7: Checkoff

Demonstrate to your own satisfaction that the following things work:

  1. You can open a command prompt.
  2. You can use cd to get around.
  3. You can run git and see a help message (rather than "Command not found").
  4. You can run python in the command prompt.
  5. You have a text editor configured to use spaces to indent instead of tabs.
  6. You have done the git clone command to get the workshop code.
  7. You have a virtualenv where you have installed the workshop's dependencies.


Next page