08 March 2016

Installing Oracle Jet 2.0 on Ubuntu

At http://oraclejet.org there are installation steps for installing the basic template of Oracle JET. So I followed the instructions. The installation is done using npm so I went to the NodeJs site where I followed the installation instructions for ubuntu.

curl -sL https://deb.nodesource.com/setup_5.x | sudo -E bash -
sudo apt-get install -y nodejs

Now the npm package is installed on my system.

Then I could follow the installation instructions at Oracle JET.

1 Setup

Using npm, run the following commands:
npm -g install yo
npm -g install grunt
npm -g install generator-oraclejet

2 Create

After installing the Oracle JET Yeoman generator, you can create a new project with:
yo oraclejet  --template=basic

3 Run

Once your project has been created, you can serve it by running:
grunt build
grunt serve
But then I received some errors and it seemed like I was missing some packages. For instance it could not find the grunt command, 
npm -g install grunt-cli
It could not find bower, so I installed the bower package
npm -g install bower 
It could not find git, so I installed the git package with npm and also on ubuntu.
npm -g install git
apt-get install git
Then I did the create step and build steps again and the basic template of Oracle JET worked fine.

No comments:

Post a Comment