Skip to content

Commit

Permalink
fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
ccurtin committed Oct 3, 2016
1 parent 0c597aa commit afee6d3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,19 +13,19 @@ Create contained environments within the VM via `. init_python_env`
- Quickly and easily create basic database configurations so you can spend more time working on what you care about. From within a Django project folder, run `manage_django_db`.


# TO DO:
## TO DO:
in `manage_django_db_postgres.sh` when installing psycopg2, need to first automatically install the _correct_ version of the `python-dev` package.

## NOTES:
#### PostgreSQL
### PostgreSQL
- Defaults to PostgreSQL 9.3
- The default settings will run Django on port 80 and Apache on 8080.
- To change the port Django runs on run: `python manage.py runserver [::]:YOUR_NEW_PORT` in a Django project.
- To change the port(s) Apache runs on edit: `vim /etc/apache2/ports.conf` and `vim /etc/apache2/sites-available/000-default.conf`. Then restart Apache `sudo /etc/init.d/apache2 restart`

## Usage

- login to machine `vagarnt ssh` and run `sudo su` for privileged commands. (virtualenvwrapper will create necessary files in the root sync folder )
- login to machine `vagrant ssh` and run `sudo su` for privileged commands. (virtualenvwrapper will create necessary files in the root sync folder )
- make sure you are in the synced_folder directory before running the command below. Default directory here is: `/vagrant/www/`
- run the command `. init_python_env` to create a new Python Environment so projects/packages are contained. **All python environments will be initialized in the synced_folder (`/vagrant/www/` by default). Notice the preceding period. This will automatically cd into the project directory after setup is complete.**
- VirtualEnv is _not_ a VM container, it is simply to create self-contained python environments. Think of it as a sandbox, not a full fledged VM. Plus, we already have the VM!
Expand Down

0 comments on commit afee6d3

Please sign in to comment.