If you want an open-source eCommerce platform that is scalable and performs at a high level, then Spree is a good place to start. Spree is built on an open-source core with support for open standards, which might be very useful in helping you run your digital content… This eCommerce platform is designed for ease of use to allow enterprises and business owners to collaborate and automate engaging experiences with users across multiple devices, including mobile… For more about Spree, please check their Homepage
Ruby version 2.5.3 Rails version 5.2.1
Install Ruby
To install Ruby and Rails on Ubuntu, you’ll need to install some dependencies. To make that happen, install Node.js and Yarn repositories. This will make installing the dependencies easier. First, install these curl and git packages. Then run the commands below to add Node.js and Yarn repositories and keys to your system. Then install some core packages to get your environment going. When you’re done. continue below: After adding the repositories and installing the necessary packages above, install Ruby with your local profile settings using rbenv. you’ll then use rbenv to install ruby-build. After setting up your local profile. run the commands below to install Ruby version 2.5.3. If a newer version is available, replace the version number with that. visit this site to find out Ruby’s latest versions. To verify that Ruby is installed, run the commands below: You should see similar lines below: Another package management you’ll want to install is bundler. to do that, run the commands below Now run the command below after installing the bundler.
Install Rails
Now that the Ruby environment is set up, run the commands below to install Rails. Rails can be installed from Node.Js. Run the commands below to install the Node.js repository, then install the Node.js package. Now that Node.js is installed, run the commands below to install Rails. Don’t forget to rehash your rbenv environment installing install new packages. To verify if Rails is installed, run the commands below. You should see something similar to the lines below:
Install Spree eCommerce
Now that your environment is ready, run the commands below to install Spree eCommerce and build your first site. Next, run the commands below Next, change it into the spree folder and install it there. Then run the commands to open the Gemfile there. When it opens, copy and paste the lines below into the file and save. Then the file should look like this: Save and exit. After that, run the commands below: After a while, the necessary packages should be installed. When you’re done, run the commands below to create an admin user and install spree. You will be prompted to create an admin email address and a password. Finally, run the commands below to start the server. Now open your browser and browse to the hostname followed by port # 3000 You should see Spree’s home page. Log on to the backend using the admin address and password. You can always perform any of these steps later by using these commands. Congratulation! You have successfully installed the Spree eCommerce platform on Ubuntu 16.04 | 18.04 | 18.10