Step 1: Open a terminal on POP! OS by pressing Ctrl+Alt+T
on your keyboard.
Step 2: Add Saleor repository GPG key by running the following command in the terminal:
wget -O - https://apt.saleor.io/pub.asc | sudo apt-key add -
Step 3: Add Saleor repository to your POP! OS by running the following command in the terminal:
echo "deb https://apt.saleor.io/stable/ $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/saleor.list
Step 4: Update the POP! OS package list by running the following command in the terminal:
sudo apt update
Step 5: Install Saleor dependencies by running the following command in the terminal:
sudo apt install saleor
Step 6: Once the installation is complete, run the following command to create a new Saleor project:
saleor init myproject
Step 7: Change directory to the project directory by running the following command:
cd myproject
Step 8: Create a virtual environment for your Saleor project by running:
virtualenv .venv
Step 9: Activate the virtual environment by running:
. .venv/bin/activate
Step 10: Run the following command in the terminal to install the required Python packages:
pip install -r requirements.txt
Step 11: Once the packages have been installed successfully, you can start the Saleor server by running the following command:
saleor runserver
That's it! You have successfully installed Saleor on your POP! OS and created a new Saleor project. You can now access your Saleor store by opening a web browser and visiting http://localhost:8000
. If you want to stop the Saleor server, just press Ctrl+C
in the terminal window.
If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!
Alternatively, for the best virtual desktop, try Shells!