mirror of
https://github.com/ConnectedHumber/Air-Quality-Web
synced 2024-12-22 10:25:01 +00:00
Installation instructions: Move chown to after client app build
This commit is contained in:
parent
6df03112e8
commit
03247227e2
1 changed files with 8 additions and 9 deletions
17
README.md
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…
Reference in a new issue