Commit 47da096 1 parent d1b0bbb commit 47da096 Copy full SHA for 47da096
File tree 2 files changed +18
-2
lines changed
2 files changed +18
-2
lines changed Original file line number Diff line number Diff line change
1
+ .PHONY : build start
2
+
3
+ build :
4
+ pipenv install --dev
5
+
6
+ start :
7
+ pipenv run python run.py
Original file line number Diff line number Diff line change 1
1
# ras-secure-message
2
- [ ![ Build Status] ( https://travis-ci.org/ONSdigital/ras-secure-message.svg?branch=master )] ( https://travis-ci.org/ONSdigital/ras-secure-message )
2
+ [ ![ Build Status] ( https://travis-ci.org/ONSdigital/ras-secure-message.svg?branch=master )] ( https://travis-ci.org/ONSdigital/ras-secure-message )
3
3
[ ![ Codacy Badge] ( https://api.codacy.com/project/badge/Grade/4e427a826650454d98ed74dade65a4ff )] ( https://www.codacy.com/app/ONSDigital/ras-secure-message )
4
4
[ ![ codecov] ( https://codecov.io/gh/ONSdigital/ras-secure-message/branch/master/graph/badge.svg )] ( https://codecov.io/gh/ONSdigital/ras-secure-message )
5
5
@@ -23,6 +23,11 @@ Use pipenv to create a virtualenv and install dependencies
23
23
pipenv install
24
24
```
25
25
26
+ Alternatively you can use make
27
+ ``` bash
28
+ make build
29
+ ```
30
+
26
31
Set environmental variables. Replace $SOURCE_ROOT with the parent directory of the project.
27
32
28
33
```
43
48
``` bash
44
49
docker-compose up
45
50
```
51
+ or (when postgres is set up)
52
+ ``` bash
53
+ make start
54
+ ```
46
55
47
56
48
57
Test the application
@@ -99,4 +108,4 @@ The services these variables exist for are listed below with the beginnings of t
99
108
| Service | Start of variables | Github
100
109
|---------------------------------|-----------------------------|-----------------------------
101
110
| Case service | RM_CASE_SERVICE | https://github.com/ONSdigital/rm-case-service
102
- | Party service | RAS_PARTY_SERVICE | https://github.com/ONSdigital/ras-party
111
+ | Party service | RAS_PARTY_SERVICE | https://github.com/ONSdigital/ras-party
You can’t perform that action at this time.
0 commit comments