1
0
Fork 0
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:
Maksim Eltyshev 2023-02-02 00:10:21 +01:00
parent d975b2d07a
commit 14961b6621

View file

@ -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://d207aa93qlcgug.cloudfront.net/1.95.5.qa/img/nav/docker-logo-loggedout.png)](https://github.com/plankanban/planka/pkgs/container/planka) [![](https://d207aa93qlcgug.cloudfront.net/1.95.5.qa/img/nav/docker-logo-loggedout.png)](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