To install the TikTok marketplace extension using Composer
- Log in to your server via a Command line
eg: sss username@your-server
- Navigate to the Magento Root Directory
cd/path/to/your/magento/root
- Install the module
composer require ced/magento-2-tiktok-connector
- Run the following commands from your Magento Root Directory to complete the Installation.
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy -f
php bin/magento cache:flush
Manual installation of the module might seem like a tedious task, but in reality, it is pretty simple. Just follow these steps and you will be able to install the extension in no time
- Visit /var/www/html/magentorootdirectory to access the Magento root directory
- Here, under the "app" folder of the directory, create a new folder named code. Under the code folder, create a sub-folder with the name of the vendor of the module, i.e., Ced.
- Now create another two sub-folders under the folder Ced with module names, i.e., ConnectBase and ConnectTikTok.
So, the final directory will look something like this:
{magento_root_dir}/app/code/Ced/ConnectBase
{magento_root_dir}/app/code/Ced/ConnectTikTok
- Now move the base module and TikTok module folder inside the ConnectBase and ConnectTikTok folder respectively.
Once you’ve moved the folder, please check for the permission assigned to the Ced directory. It should be 755 to enable installation.
registration.php file should be next to the app/code/Ced/ConnectBase path.
- Upon successfully moving the folder, open the command prompt.
- Now, navigate to the Magento root directory and execute the following set of commands to complete the installation:
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy-f
php bin/magento indexer:reindex
php bin/magento cache:flush
- And it's done. Open Magento and you will find the TikTok Marketplace extension therein.