mirror of
https://github.com/wekan/wekan.git
synced 2025-12-22 18:30:13 +01:00
Updated Mac (markdown)
parent
0c6c52103f
commit
7b379d9ac5
1 changed files with 40 additions and 5 deletions
45
Mac.md
45
Mac.md
|
|
@ -1,8 +1,3 @@
|
||||||
## Docker
|
|
||||||
|
|
||||||
- [Docker](https://github.com/wekan/wekan/wiki/Docker)
|
|
||||||
- [Docker Dev Environment](https://github.com/wekan/wekan-dev)
|
|
||||||
|
|
||||||
## Bundle
|
## Bundle
|
||||||
|
|
||||||
1. Install XCode
|
1. Install XCode
|
||||||
|
|
@ -18,9 +13,49 @@ export PORT=2000
|
||||||
export MONGO_URL='mongodb://127.0.0.1:27017/wekan'
|
export MONGO_URL='mongodb://127.0.0.1:27017/wekan'
|
||||||
```
|
```
|
||||||
[More info about ROOT_URL](https://github.com/wekan/wekan/wiki/Settings)
|
[More info about ROOT_URL](https://github.com/wekan/wekan/wiki/Settings)
|
||||||
|
|
||||||
8. Edit `start-wekan.sh` so that it starts in bundle directory command `node main.js`
|
8. Edit `start-wekan.sh` so that it starts in bundle directory command `node main.js`
|
||||||
|
|
||||||
## Build bundle from source and develop Wekan
|
## Build bundle from source and develop Wekan
|
||||||
|
|
||||||
1. Install XCode
|
1. Install XCode
|
||||||
2. [With steps 3-6 fork and clone your fork of Wekan](https://github.com/wekan/wekan-maintainer/wiki/Developing-Wekan-for-Sandstorm#3-fork-wekan-and-clone-your-fork)
|
2. [With steps 3-6 fork and clone your fork of Wekan](https://github.com/wekan/wekan-maintainer/wiki/Developing-Wekan-for-Sandstorm#3-fork-wekan-and-clone-your-fork)
|
||||||
|
|
||||||
|
## Docker
|
||||||
|
|
||||||
|
- [Docker](https://github.com/wekan/wekan/wiki/Docker)
|
||||||
|
- [Docker Dev Environment](https://github.com/wekan/wekan-dev)
|
||||||
|
|
||||||
|
## b) [Docker](https://github.com/wekan/wekan/wiki/Docker)
|
||||||
|
|
||||||
|
If you don't need to build Wekan, use prebuilt container with docker-compose.yml from https://github.com/wekan/wekan like this:
|
||||||
|
```
|
||||||
|
docker-compose up -d
|
||||||
|
```
|
||||||
|
|
||||||
|
If you like to build from source, clone Wekan repo:
|
||||||
|
```
|
||||||
|
git clone https://github.com/wekan/wekan
|
||||||
|
```
|
||||||
|
Then edit docker-compose.yml with [these lines uncommented](https://github.com/wekan/wekan/blob/master/docker-compose.yml#L132-L142) this way:
|
||||||
|
```
|
||||||
|
#-------------------------------------------------------------------------------------
|
||||||
|
# ==== BUILD wekan-app DOCKER CONTAINER FROM SOURCE, if you uncomment these ====
|
||||||
|
# ==== and use commands: docker-compose up -d --build
|
||||||
|
build:
|
||||||
|
context: .
|
||||||
|
dockerfile: Dockerfile
|
||||||
|
args:
|
||||||
|
- NODE_VERSION=${NODE_VERSION}
|
||||||
|
- METEOR_RELEASE=${METEOR_RELEASE}
|
||||||
|
- NPM_VERSION=${NPM_VERSION}
|
||||||
|
- ARCHITECTURE=${ARCHITECTURE}
|
||||||
|
- SRC_PATH=${SRC_PATH}
|
||||||
|
- METEOR_EDGE=${METEOR_EDGE}
|
||||||
|
- USE_EDGE=${USE_EDGE}
|
||||||
|
#-------------------------------------------------------------------------------------
|
||||||
|
```
|
||||||
|
Then you can build Wekan with
|
||||||
|
```
|
||||||
|
docker-compose up -d --build
|
||||||
|
```
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue