Create a directory on the server where the application will be unpacked:
mkdir -p 3yd_v_XXX && cd 3yd_v_XXX
Download the archive package from the link provided by the 3YD Technical Support team:
curl -o 3yd_v_XXX.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_v_XXX.tgz
Create a folder where the uploads will be stored called
UPLOADS_DIR
. (Must be an absolute path like/home/ubuntu/UPLOADS_DIR
)mkdir -p $HOME/UPLOADS_DIR
Obtain the domain name under which the application should be reachable (e.g
app.example.com
)
Note: We recommend exporting the two variables above in your.bashrc
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
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
Make sure that all files have the same read and write permissions and ownership/group membership as the directories they were copied in.
No labels