mirror of
https://github.com/plankanban/planka.git
synced 2025-07-18 20:59:44 +02:00
meta: Fix documentation for installation without docker
This commit is contained in:
parent
d975b2d07a
commit
14961b6621
1 changed files with 9 additions and 17 deletions
26
README.md
26
README.md
|
@ -25,7 +25,6 @@ There are 2 types of installation:
|
||||||
1. [Dockerized](#1-docker-compose)
|
1. [Dockerized](#1-docker-compose)
|
||||||
2. [Without Docker](#2-without-docker)
|
2. [Without Docker](#2-without-docker)
|
||||||
|
|
||||||
|
|
||||||
### 1. Docker Compose
|
### 1. Docker Compose
|
||||||
|
|
||||||
[](https://github.com/plankanban/planka/pkgs/container/planka)
|
[](https://github.com/plankanban/planka/pkgs/container/planka)
|
||||||
|
@ -61,28 +60,27 @@ cd /var/www/planka
|
||||||
git clone https://github.com/plankanban/planka.git .
|
git clone https://github.com/plankanban/planka.git .
|
||||||
```
|
```
|
||||||
|
|
||||||
2. Install dependencies for client and build it.
|
2. Install dependencies and build the client.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
cd client
|
|
||||||
npm install
|
npm install
|
||||||
npm run build
|
npm run client:build
|
||||||
```
|
```
|
||||||
|
|
||||||
**Note**: You can use `yarn` or `pnpm` instead of `npm`.
|
**Note**: You can use `yarn` or `pnpm` instead of `npm`.
|
||||||
|
|
||||||
3. Copy the `build` directory to the `server/public` directory.
|
3. Copy the content of the `client/build` directory to the server.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
cp -r build ../server/public
|
cp -r client/build/. server/public
|
||||||
cp build/index.html ../server/views/index.ejs
|
cp client/build/index.html server/views/index.ejs
|
||||||
```
|
```
|
||||||
|
|
||||||
4. Install dependencies for server.
|
4. Copy the start script and navigate to the `server` directory.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
cd ../server
|
cp start.sh server
|
||||||
npm install
|
cd server
|
||||||
```
|
```
|
||||||
|
|
||||||
5. Configure environment variables.
|
5. Configure environment variables.
|
||||||
|
@ -96,13 +94,7 @@ nano .env
|
||||||
|
|
||||||
**Note**: Before continuing, make sure you have your selected database created and running.
|
**Note**: Before continuing, make sure you have your selected database created and running.
|
||||||
|
|
||||||
6. Copy start script from the root directory to the `server` directory.
|
6. Start the server.
|
||||||
|
|
||||||
```bash
|
|
||||||
cp ../start.sh .
|
|
||||||
```
|
|
||||||
|
|
||||||
7. Start the server.
|
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
./start.sh
|
./start.sh
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue