Installation instructions: Move chown to after client app build

pull/26/head
Starbeamrainbowlabs 4 years ago
parent 6df03112e8
commit 03247227e2
Signed by: sbrl
GPG Key ID: 1BE5172E637709C2
  1. 17
      README.md

@ -43,21 +43,14 @@ git clone https://github.com/ConnectedHumber/Air-Quality-Web.git
```
2. Change the ownership to allow your web server user to access the created directory. Usually, the web server will be running under the `www-data` user:
```bash
sudo chown -R www-data:www-data path/to/Air-Quality-Web
```
3. `cd` into the root of the cloned repository. Then install the dependencies (these are installed locally):
2. `cd` into the root of the cloned repository. Then install the dependencies (these are installed locally):
```bash
./build setup setup-dev
```
4. Build the client-side application:
3. Build the client-side application:
```bash
# For development, run this:
@ -68,6 +61,12 @@ NODE_ENV=production ./build client
./build client-watch
```
4. Change the ownership to allow your web server user to access the created directory. Usually, the web server will be running under the `www-data` user:
```bash
sudo chown -R www-data:www-data path/to/Air-Quality-Web
```
5. Edit `data/settings.toml` to enter your database credentials.

Loading…
Cancel
Save