Commit 4cacd072 authored by Daniel W Bond's avatar Daniel W Bond
Browse files

moved and combined a section on the readme to make the macos/debian breakdown more clear

parent c1e35622
......@@ -18,7 +18,7 @@ Please visit the [SRCT Wiki](http://wiki.srct.gmu.edu/) for more information on
These instructions are for Ubuntu and Debian, or related Linux distributions. (If you'd like to help write the instructions for Mac OSX, please do!)
### Prerequisities
### Prerequisities and Package Installation
First, install python, pip, and git on your system. Python is the programming language used for Django, the web framework used by Roomlist. 'Pip' is the python package manager. Git is the version control system used for SRCT projects.
......@@ -34,6 +34,14 @@ This retrieves links to the most up-to-date and secure versions of your packages
you install python and git.
Next, install these packages from the standard repositories
`$ sudo apt-get install libldap2-dev mysql-server mysql-client libmysqlclient-dev python-mysqldb libsasl2-dev libjpeg-dev redis-server`
If prompted to install additional required packages, install those as well.
When prompted to set your mysql password, it's advisable to set it as the same as your normal superuser password.
Now you're ready to set up the Roomlist repository on your machine.
**macOS (Formerly OS X)**
......@@ -47,9 +55,9 @@ To get homebrew, run the following command in a terminal:
**Note**: You do NOT need to use `sudo` when running any Homebrew commands, and it likely won't work if you do.
Now you want to Python, pip, git, and MySQL (macOS actually ships with some of these, but we want to have the latest versions). To do so, run the following command in your terminal:
Now you want to Python, pip, git, and MySQL (macOS actually ships with some of these, but we want to have the latest versions). We'll also install Redis, though this package is only relevant when testing the production environment. To do so, run the following command in your terminal:
`brew install python git mysql`
`brew install python git mysql redis`
Now you're ready to set up the Roomlist repository on your machine.
......@@ -63,16 +71,6 @@ Now, on your computer, navigate to the directory in which you want to download t
`git clone git@git.gmu.edu:srct/roomlist.git`
### Package Installation
Next, install these packages from the standard repositories
`$ sudo apt-get install libldap2-dev mysql-server mysql-client libmysqlclient-dev python-mysqldb libsasl2-dev libjpeg-dev redis-server`
If prompted to install additional required packages, install those as well.
When prompted to set your mysql password, it's advisable to set it as the same as your normal superuser password.
### The Virtual Environment
Virtual environments are used to keep separate project packages from the main computer, so you can use different versions of packages across different projects and also ease deployment server setup.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment