Installation
Create and
cd
to a directory on the server where the application will be unpacked:mkdir -p 3yd_v404 && cd 3yd_404
Download the archive package from the link provided by the 3YD Technical Support team:
curl -o 3yd_v4.0.4.tgz “Download Link“
Note: The link should be surrounded in double quotes ““ as it contains symbols interpreted as special characters by the bash shellUnpack the installation package:
tar -zxvf 3yd_v4.0.4.tgz
Create a folder where the uploads can be stored called
UPLOADS_DIR
. (Must be an absolute path like/home/ubuntu/UPLOADS_DIR
) that is deploying the applicationmkdir -p $HOME/UPLOADS_DIR
Find out the domain under which the app should be publicly reachable (DOMAIN, hostname like
app.example.com
)
Note: We suggest exporting the two variables above in your.bashrc
by appending the two lines to the end of the file.vim ~/.bashrc
ornano ~/.bashrc
to open and edit the.bashrc
file
Append the code to the end of the fileCode Block export DOMAIN=yourDomainName.xxx export UPLOADS_DIR=/home/ubuntu/UPLOADS_DIR
Reload your
./bashrc
withsource ~/.bashrc
Run the install script:
sudo ./install.sh $DOMAIN $UPLOADS_DIR; exec bash -l
You can now make changes to the configuration file
values.yaml
.Apply the changed configuration:
sudo ./upgrade.sh
Check the status of the application:
kubectl get pods
Upgrade to the next version
Unpack the new version of the installation package to a new directory on the machine
Run the update script in the new directory:
sudo ./update.sh
Migration from previous installation method (appconfig)
...
Follow the installation instructions above
...
Copy the files from the uploaded files previous installation to the directory specified as UPLOADS_DIR
:
3D files into
UPLOADS_DIR/backend-uploads
Media files into
UPLOADS_DIR/button3d-media
Private media files into
UPLOADS_DIR/button3d-private-media
...
This section describes how to install the 3YOURMIND Platform on a bare metal server.
Child pages (Children Display) |
---|