Browse Source

Updating instructions

pull/160/head
Justin Johnson 8 years ago
parent
commit
d3939e5491
1 changed files with 8 additions and 5 deletions
  1. +8
    -5
      README.md

+ 8
- 5
README.md View File

@ -30,11 +30,15 @@ To run this project in your development machine, follow these steps:
`python3.5 ./manage.py migrate`
6. If everything is alright, you should be able to start the Django development server:
6. Load questions from fixtures:
`python3.5 ./manage.py loaddata edivorce/fixtures/Question.json`
7. If everything is alright, you should be able to start the Django development server:
`python3.5 ./manage.py runserver 0.0.0.0:8000`
7. Start the [Weasyprint server](https://hub.docker.com/r/aquavitae/weasyprint/) server on port 5005
8. Start the [Weasyprint server](https://hub.docker.com/r/aquavitae/weasyprint/) server on port 5005
1. Bind the IP address 10.200.10.1 to the lo0 interface on your Mac computer. Weasyprint has been configured to use this IP address to request CSS files from Django *(You should only have to do this once)*.
```
@ -46,8 +50,7 @@ To run this project in your development machine, follow these steps:
docker run -d -p 5005:5001 aquavitae/weasyprint
```
8. Open your browser and go to http://127.0.0.1:8000, you will be greeted with the eDivorce homepage.
9. Open your browser and go to http://127.0.0.1:8000, you will be greeted with the eDivorce homepage. In dev mode, you can log in with any username and the password 'divorce'.
## OpenShift deployment
@ -72,4 +75,4 @@ For local development a SQLite database will be used. For OpenShift deployments
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
limitations under the License.

Loading…
Cancel
Save