Skip to content
This repository has been archived by the owner on Sep 5, 2018. It is now read-only.

Bugfix/sqlite #13

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
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
24 changes: 24 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,19 @@ Boxes take approximately _10 mins_ to come up, and it can take much longer local

### Provider: Virtualbox

#### Additional modifications

Take a look at the newly created `group_vars/all` file. You likely will not need the basic auth and can safely delete the last two lines.

In addition the line blocks that begin with

```
{% if http_basicauth_user %}
```

referring to http authentication in `docnow/templates/dnflow.cfg.j2` and ``docnow/templates/dnflow.cfg.j2` can be safely deleted.


```bash
$ vagrant up
```
Expand All @@ -58,6 +71,7 @@ $ vagrant up

again.


### Provider AWS


Expand All @@ -76,8 +90,18 @@ On the first run it will install the `vagrant-triggers` and `vagrant-aws` plugin

### Provider: Virtualbox

Log into your VM and complete with the following steps


```
vagrant ssh
cd /home/docnow/dnflow
sudo -u docnow -s ; sqlite3 db.sqlite3 < schema.sql
```

Go to http://192.168.60.14


### Provider: AWS

Go to your AWS Console
Expand Down
4 changes: 4 additions & 0 deletions group_vars/all_template
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
---
# Depending on your setup you may want to change this from eth0 to eth1
# especially on Virtualbox
hostname: "{{ ansible_eth0.ipv4.address }}"
twitter_consumer_key: your_key
twitter_consumer_secret: your_secret
# If you are using this on Virtualbox you likely don't need these please look
# at the dnflow.cfg2 and nginx for more edits for Virtualbox
#http_basicauth_user: username
#http_basicauth_pass: password