Skip to content
This repository has been archived by the owner on Sep 5, 2021. It is now read-only.

Commit

Permalink
robo8x [chore] 10/15/2019, 10:17:06 AM
Browse files Browse the repository at this point in the history
  • Loading branch information
p3x-robot committed Oct 15, 2019
1 parent 1c3f11f commit 5f678f3
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ It is basically a built for the latest MongoDB for Debian.

**Unfortunately, I never tested it on any other architecture, but `x64`, so, it is possible it will not build other CPU types. [See this link.](https://docs.mongodb.com/manual/installation/#mongodb-supported-platforms)**

The current version is the r4.0.12 build (release).
The current version is the r4.0.13 build (release).

There is a newer version `4.1.0`, but given, we use `NoSQLBooster`, it only works with `4.0.0` and the `4.0.x` is the stable, the next stable will be `4.2.0`, `4.4.0` and so on...

Expand Down Expand Up @@ -56,9 +56,9 @@ All defaults are in the config, that MongoDB uses:
It generates everything, all you have to do:

```bash
sudo ./scripts/build-server.sh r4.0.12
sudo ./scripts/build-server.sh r4.0.13
# if you want to specify how many cores you wanna use do like
sudo CORES=4 ./scripts/build-server.sh r4.0.12
sudo CORES=4 ./scripts/build-server.sh r4.0.13
```

### 2. Build MongoDB Tools
Expand All @@ -75,7 +75,7 @@ Then, it puts all tools into the default Debian ```/usr/bin``` directories.

The exact command is like:
```bash
sudo ./scripts/build-tools.sh r4.0.12
sudo ./scripts/build-tools.sh r4.0.13
```

### 3. Start the services
Expand Down
6 changes: 3 additions & 3 deletions scripts/build-server.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ set -e
# some info
echo
#echo "Works like command, use a tag: sudo ./scripts/build-server.sh r4.2.0"
echo "Works like command, use a tag: sudo ./scripts/build-server.sh r4.0.12"
echo "Works like command, use a tag: sudo ./scripts/build-server.sh r4.0.13"
echo

# check if we are root
Expand All @@ -35,7 +35,7 @@ fi

# require mongo release
if [ -z "${1}" ]; then
echo "The first argument must be the MONGODB_RELEASE for example 'r4.0.12'"
echo "The first argument must be the MONGODB_RELEASE for example 'r4.0.13'"
exit 1
fi
MONGODB_RELEASE="${1}"
Expand Down Expand Up @@ -86,7 +86,7 @@ pushd $BUILD

# hack to old version python pip cryptography from 1.7.2 to use the latest
sed -i 's#cryptography == 1.7.2#\#cryptography == 1.7.2#g' buildscripts/requirements.txt
# this is only because 4.0.12 uses 1.7.2 and
# this is only because 4.0.13 uses 1.7.2 and
# https://github.com/pyca/cryptography/issues/4193#issuecomment-381236459
# support minimum latest (2.2)
pip install cryptography
Expand Down
4 changes: 2 additions & 2 deletions scripts/build-tools.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ set -e

# some info
echo
echo "Works like command: sudo ./scripts/build-tools.sh r4.0.12"
echo "Works like command: sudo ./scripts/build-tools.sh r4.0.13"
echo

# check if we are root
Expand All @@ -20,7 +20,7 @@ fi

# require mongo release
if [ -z "${1}" ]; then
echo "The first argument must be the MONGODB_RELEASE for example 'r4.0.12'"
echo "The first argument must be the MONGODB_RELEASE for example 'r4.0.13'"
exit 1
fi
MONGODB_RELEASE="${1}"
Expand Down

0 comments on commit 5f678f3

Please sign in to comment.