Environment Setup
Selldone Storefront Environment Setup Guide
This guide provides step-by-step instructions on setting up your environment to build and run the Selldone Storefront Vue project. Follow these steps for Windows, Linux, macOS, and Ubuntu to ensure a smooth setup from zero to running yarn serve.
Prerequisites
Before you begin, ensure you have administrative access to your computer and a stable internet connection for downloading necessary software.
Step 1: Install Node.js
Node.js is essential for running JavaScript on the server.
Windows & macOS
Visit Node.js Download Page.
Download the installer for Windows or macOS.
Run the installer and follow the prompts to install Node.js.
Linux/Ubuntu
For Linux, particularly Ubuntu, you can install Node.js via the package manager:
sudo apt update
sudo apt install nodejs
sudo apt install npmStep 2: Install Yarn
Yarn is a package manager that doubles as project manager.
Windows
For Windows, you can install Yarn through the installer:
Visit Yarn Download Page.
Download and run the Yarn installer.
macOS
On macOS, you can use Homebrew:
Linux/Ubuntu
For Ubuntu and other Linux distributions:
Step 3: Clone Selldone Storefront Repository
Clone the repository from GitHub:
Step 4: Install Project Dependencies
Navigate to your project directory and run:
Add modules and auto-config:
Step 5: Run the Development Server
Set .env file
Finally, start the development server with:
The project should now be running locally, and you can access it via localhost:8080 or the port provided in your terminal.
Troubleshooting
Ensure Node.js and Yarn are correctly installed by running
node -vandyarn -v.If you encounter any issues, check the official documentation of Node.js, Yarn, or the Selldone storefront GitHub repository.
Conclusion
You're now set up to develop with the Selldone Storefront Vue project. For further information or community support, refer to the Selldone documentation or GitHub repository. Happy coding!
Last updated