Skip to content
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
11 changes: 10 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,23 @@ Your system needs the following installed:

### One-time setup ###

Initialize the database and load in the data
Initialize the database and load in the data. This will be done on your local
machine outside of a docker container.

```
cd server
pipenv install --dev
python manage.py migrate
python manage.py loadwages ../resources
```

This is creating an sqlite database in the project repo and populating it
with the data from the `resources/` directory. We do this once at the start
of the project because the application considers this database to be
a static build artifact (It has not need to mutate the data while running).

Now that this database has been built the application itself will be served
through docker.

### Running ###
To launch your server run
Expand Down
2 changes: 1 addition & 1 deletion client/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
FROM node:6.9
RUN npm install webpack -g
RUN npm install webpack@1.13.2 -g
ADD . /client
WORKDIR /client
ENTRYPOINT ["bash", "build.sh"]