Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added docs support for mac users #474

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,14 @@ To install Docker for Mac [click here](https://docs.docker.com/docker-for-mac/in
virtualenv --system-site-packages ~/Fabrik --python=python2.7
source ~/Fabrik/bin/activate
```

**For Mac Users**

```
pip install virtualenv
virtualenv -p /usr/bin/python2.7 ~/Fabrik
source ~/Fabrik/bin/activate
```

2. Clone the repository via git

Expand All @@ -109,6 +117,12 @@ To install Docker for Mac [click here](https://docs.docker.com/docker-for-mac/in
```
sudo apt-get install redis-server
```

**For Mac Users**

```
brew install redis
```

* Change the hostname to ``` localhost ``` in settings/common.py line 115.

Expand Down Expand Up @@ -185,6 +199,18 @@ To install Docker for Mac [click here](https://docs.docker.com/docker-for-mac/in
ALTER ROLE admin SET timezone TO 'UTC';
ALTER USER admin CREATEDB;
```

**For Mac Users**
* Login to postgres using ````` psql -U postgres ````` and then run the following commands.

````
CREATE DATABASE fabrik;
CREATE USER admin WITH PASSWORD 'fabrik';
ALTER ROLE admin SET client_encoding TO 'utf8';
ALTER ROLE admin SET default_transaction_isolation TO 'read committed';
ALTER ROLE admin SET timezone TO 'UTC';
ALTER USER admin CREATEDB;
````

* Exit psql by typing in \q and hitting enter.

Expand Down