Sie sind auf Seite 1von 10

Doc. Version: 0.

04

/PrimeFusion

/PrimeFusionEcom

Purchased by melodyc guitarista, redmi2prime89@gmail.com #9034646

/PrimeFusionEcom

Doc. Version: 0.04

Hello.
${
Thanks for downloading the latest and greatest version of Prime Fusion.
Worlds First Business-ready NodeJs eCommerce Platform.
Please use this installation guide to setup your First store.
Upon request from a lot of users, we have added an Expert Installation service.
As we are busy constantly updating the platform, we can only take-up 20 installations
per month.
Check HERE, to see if there is a slot available for installation service.
Important things to remember (Please read before you avail this Option):
1. Please read this step-by-step installation guide available in the package. We highly
recommend you to please make use of it.
2. Since we get a lot of installation requests, please opt for Expert installation only if
you need the service 100% ( So, the non-tech users get first priority. )
3. Based on the queue, the ETA for installation completion would be 48 - 120 Hours..

Made with love and Nodejs. });


Subscribe to our mailing list and our social media accounts.
Love,
Team Prime Fusion

Purchased by melodyc guitarista, redmi2prime89@gmail.com #9034646

Doc. Version: 0.04

Prime Fusion software is licensed under GNU AGPL V3.0


https://www.gnu.org/licenses/agpl-3.0.html
And Prime Fusions Sub-license
http://primefusion.net/help/license/pflicense
Which
1.
2.
3.
4.

implies that,
You can copy, make modifications, distribute it (only through our network).
Any modifications you make has to be licensed under the same license.
You cannot remove the download button linking back to Prime Fusion.
You can commercially use the software, for you or your clients. But must not
Re-brand it as your own and sell it.
5. You agree to the license, terms and conditions of Prime Fusion.
All the other trademarks or products mentioned like AngularJs, NodeJs, etc are owned
by their owners respectively.
Prime Fusion, Prime Fusion Ecommerce and its entities are owned by Prime Fusion.
Please read our brand Guidelines for using our logos and other brand assets here

Purchased by melodyc guitarista, redmi2prime89@gmail.com #9034646

Doc. Version: 0.04

Installation Guide:
First Install Node :
5 Ways to Install Node.js
There are several ways to do this, but we recommend Option 1. Here is the full list of
options:

Option 1 (Our pick!): Install the nvm script to manage multiple active Node.js
versions

Option 2: Install the standard Debian/Ubuntu packages for Node and npm
Option 3: Install from Debian/Ubuntu packages created by the Node.js
(associated) team

Option 4: Install Node.js manually from standard binary packages on the official
website

Option 1 is our recommended method for everyone. Option 2 is incredibly simple, while
Options 3, 4, and 5 have the advantage of keeping your Node and npm packages the
most current. Before trying any of these install options, youll want to remove the old
Node package to avoid conflicts.

Before You Get Started: Remove Old Node Package to Avoid Conflicts
On Ubuntu, the Node.js package has a similar name to the older version, Node. The
latter is an amateur packet radio program you can more than likely remove.
If you already have Node installed, you might want to remove it. Some Node.js tools
might execute Node.js as Node instead of Node.js, causing conflicts.
You can look for and remove the Node package by executing these commands in a
terminal. To access a terminal, navigate through the desktop menu:

Purchased by melodyc guitarista, redmi2prime89@gmail.com #9034646

Doc. Version: 0.04

Applications Accessories Terminal


Run this command and if it says install in the right column, Node is on your system:
$ dpkg --get-selections | grep node
ax25-node
install
node
install

sudo apt-get remove --purge


node

Option 1: Install Node.js with Node Version Manager


First, make sure you have a C++ compiler. Open the terminal and install the
build-essential and libssl-dev packages if needed. By default, Ubuntu does not come
with these tools but they can be installed in the command line.
Use apt-get to install the build-essential package:
1

sudo apt-get install build-essential checkinstall

Employ a similar process to get libssl-dev:


1

sudo apt-get install libssl-dev

You can install and update Node Version Manager, or nvm, by using cURL:
1

curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.31.0/install.sh |


bash

Purchased by melodyc guitarista, redmi2prime89@gmail.com #9034646

Doc. Version: 0.04

You will be asked to close and reopen the terminal. To verify that nvm has been
successfully installed after you reopen the terminal, use:
1

command -v
nvm

That command will output nvm if the installation worked.


To download, compile and install the latest version of Node:
1 nvm install 5.0
In any new shell, youll need to tell nvm which version to use:
1

nvm use
5.0

To set a default Node.js version to be used in any new shell, use the
1

default:

nvm alias default node

Not only does nvm allow you to run newer versions of Node.js and npm, you can install
and migrate any desired versions youd prefer. Go to the nvm GitHub repository for
more information.

Option 2: Install Node.js with Ubuntu Package Manager


To install Node.js, type the following command in your terminal:
1

sudo apt-get install nodejs

Then install the Node package manager, npm:


1

sudo apt-get install npm

Create a symbolic link for node, as many Node.js tools use this name to execute.
1

sudo ln -s /usr/bin/nodejs /usr/bin/node

Now we should have both the Node and npm commands working:

Purchased by melodyc guitarista, redmi2prime89@gmail.com #9034646

Doc. Version: 0.04

1
2
3
4

$ node
-v
v0.10.25
$ npm -v
1.3.10

Option 3: Install Node.js with Maintained Ubuntu Packages


Add the Node.js-maintained repositories to your Ubuntu package source list with this
command:
1

curl -sL https://deb.nodesource.com/setup | sudo bash -

Then install Node.js with


1

sudo apt-get install nodejs

Optionally we can create a symbolic link for node (for reasons mentioned earlier):
1

sudo ln -s /usr/bin/nodejs /usr/bin/node

Using this install option, we end up with newer versions of Node.js and npm:
$ node -v
v0.10.44
$ npm -v
2.15.0
Option 4: Install Node.js with Standard Binary Packages
Go to the official Node.js download page and download either the 32-bit or 64-bit Linux
binary file, depending on your system type.

You can determine the CPU architecture of your server with these commands:
$ getconf LONG_BIT
64
$ uname -p
x86_64

Purchased by melodyc guitarista, redmi2prime89@gmail.com #9034646

Doc. Version: 0.04

You can download the file from the browser or from the console. The latter is shown
below (Note: the specific Node.js version might be different for you):
1

wget https://nodejs.org/dist/v4.4.4/node-v4.4.4-linux-x64.tar.xz

To make sure you can unpack the file, install xz-utils:


1

sudo apt-get install xz-utils

Next, execute the following command to install the Node.js binary package in /usr/local/:
1

tar -C /usr/local --strip-components 1 -xJf node-v4.4.4-linux.x64.tar.xz

You should now have both Node.js and npm installed in /usr/local/bin. You can check this
with:
ls -l /usr/local/bin/node
ls -l /usr/local/bin/npm

Second Install MongoDB:


Run the following command to import the MongoDB public GPG Key
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 7F0CEB10
Create a /etc/apt/sources.list.d/mongodb.list file using the following command.
echo 'deb http://downloads-distro.mongodb.org/repo/ubuntu-upstart dist 10gen'
| sudo tee /etc/apt/sources.list.d/mongodb.list
Now issue the following command to update the repository
sudo apt-get update
Now install the MongoDB by using following command
apt-get install mongodb-10gen=3.2
In the above installation 3.2 is currently released mongodb version. Make sure to
install latest version always. Now mongodb is installed successfully.

Purchased by melodyc guitarista, redmi2prime89@gmail.com #9034646

Doc. Version: 0.04

Start MongoDB
sudo service mongodb start
Stop MongoDB
sudo service mongodb stop
Restart MongoDB
sudo service mongodb restart
To use mongodb run the following command
Mongo

THIRD Install FOREVER


Next, lets make it persistent using Forever, so once we log off it still runs and will
restart even if node throws an error.
sudo npm install forever --global

FOURTH INSTALL BOWER


sudo npm install bower -g

FIFTH INSTALL COMPASS


sudo apt-get install ruby
sudo apt-get install rubygems
gem install compass
Voila! Were done installing. Happy eCommerce-ing!

Purchased by melodyc guitarista, redmi2prime89@gmail.com #9034646

Doc. Version: 0.04

Purchased by melodyc guitarista, redmi2prime89@gmail.com #9034646

Das könnte Ihnen auch gefallen