-
Notifications
You must be signed in to change notification settings - Fork 24
Home
The preferred way of installing the extension is through the Magento Connect Manager. It can, however, also be installed as a local extension package or directly from the GitHub repository if needed.
For development purposes it is recommended to use the repository approach, as you can then easily keep track of any changes while having the extension installed in Magento.
The preferred way of installing the extension is through Magento Connect.
- Open the Magento Connect Manager from your Magento backend, and click the connect link under the "Install New Extensions" section
- Search for the Nosto extension to find the Nosto extension page
- Click the "Install Now" button and copy the install link
- Go back to your Magento installation and paste the link into the text field under the "Install New Extensions" section and click "install"
- Wait for the the installation to finish and go back to the Magento admin
The extension can also be installed as a local package by uploading the extension package archive manually in the Magento Connect Manager, or by unpacking it directly into the Magento installation directory which will place the files and folders in the correct places.
The extension package archive can be obtained from the projects releases page on GitHub.
Note: do NOT download the "source code" as that will not include the needed dependencies for the extension, instead use the "Nosto_Tagging-x.x.x.tgz" archive.
For development purposes, the plugin can be installed directly from the GitHub repository by cloning the project and using Modman.
- Prior to proceeding, Magento must be configured to allow-symlinks. Symlinks can be enabled by navigating to System >> Configuration >> Developer and choosing "Allow Symlinks".
- Navigate to the Magento directory and initialize Modman. If you are already using Modman, you may omit this step.
modman init
- Once Modman is initialized, a
.modman
directory will be created. This is where all Modman managed extensions reside. Proceed to checking out the repository by running
modman clone [email protected]:Nosto/nosto-magento.git
You will see some errors about dependencies. Those dependencies will be fixed in the next steps.
- The repository will checked out in a sub-directory of the
.modman
folder. Navigate to thenosto-magento
directory.
cd .modman/nosto-magento
- Nosto for Magento uses Composer managed project. For the extension to work, it's dependencies needs to be installed by using Composer.
composer install
- Once the dependencies are installed, the autoloader must be dumped. An explanation of autoloader dumping is outside the scope of this article.
composer dump-autoload --optimize
- Once the autoloader has been dumped, the
lib
directory must be generated. This is done by using Pearify. A scrolling wall of text will ensue and alib
directory will be generated.
./vendor/bin/pearify process .
- The final step is to fix the Modman symlinks. Navigate back your Magento installation root directory begin the repair process by invoking:
modman repair
That's it! You should now have Nosto extension installed into your Magento. The sources and the repo are located under .modman/nosto-magento
and you can use it as any other git repository.
This wiki content has been moved to https://docs.nosto.com/magento