Skip to content

Commit

Permalink
updated install markdown again
Browse files Browse the repository at this point in the history
  • Loading branch information
glenbot committed Jul 31, 2011
1 parent 978e797 commit 51e3348
Showing 1 changed file with 23 additions and 22 deletions.
45 changes: 23 additions & 22 deletions INSTALL.markdown
Expand Up @@ -65,25 +65,26 @@ version:
Due to limitation #1, we have developed a solution to 'fake' out the OAuth
callbacks for local testing. Unforunately it requires a bit of manual setup.

1. Clone the project twice (1 for the 'normal' access and 1 for faked
Github OAuth.
Example setup:
- `git clone git://github.com/durden/dash.git codrspace`
- `git clone git://github.com/durden/dash.git codrspace_oauth_instance`
- cd codrspace_oauth_instance
- cp example_local_settings.py local_settings.py
- set `GITHUB_USER` in your local settings to your github username
- python manage.py sncydb
- python manage.py runserver localhost:9000

** Now you have your local github OAuth instance running that your
main instance can authenticate against.

- cd codrspace
- python manage.py sncydb
- python manage.py runserver

Now you have two instances of the django development server running. One for
`codrspace` and one for `codrspace_oauth_instance`. The `codrspace_oauth_instance`
is only to **fake validate** the user so you don't have to set up a new application
on github. Use the site as you normally would through `http://121.0.0.1:8000`
1. Clone the project twice (1 for the 'normal' access and 1 for faked Github OAuth.

- `git clone git://github.com/durden/dash.git codrspace`
- `git clone git://github.com/durden/dash.git codrspace_oauth_instance`
- `cd codrspace_oauth_instance`
- `cp example_local_settings.py local_settings.py`
- set `GITHUB_USER` in your local settings to your github username
- `python manage.py syncdb`
- `python manage.py runserver localhost:9000`

Next sync and start the main codrspace instance.

- `cd codrspace`
- `python manage.py sncydb`
- `python manage.py runserver`

Now you have two instances of the django development server running.
One for `codrspace` and one for `codrspace_oauth_instance`.

The `codrspace_oauth_instance` is only to **fake validate** the user so you don't
have to set up a new application on github.

Use the site as you normally would through `http://121.0.0.1:8000`

0 comments on commit 51e3348

Please sign in to comment.