Skip to content

A cordova project that involves reading an Apache CouchDB to display data read from an arduino sketch to the user

Notifications You must be signed in to change notification settings

rkrauskopf/clientSuite

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="utf-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <meta name="viewport" content="width=device-width, initial-scale=1">

        <title>Browser/Mobile Client</title>

        <link rel="stylesheet" type="text/css" href="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/css/bootstrap.min.css">
    </head>
    <body>
        <div class="jumbotron">
            <div class="container">
                <h1 class="repo-name">Browser/Mobile Client details</h1>

                <p class="lead">
                    A platform for developing rich hybrid mobile apps using
                    <a href="https://cordova.apache.org/">Cordova</a>,
                    <a href="http://angularjs.org/">Angular.js</a> and <a href="http://getbootstrap.com">Bootstrap</a>.
                </p>	
            </div>
        </div>

        <main class="container">
            
            <h2>Prerequisites</h2>
            <p>
                To build and run the code, you will need to do a few simple installs to get started.
            </p>
            <ol>
                <li>
                    <a href="http://nodejs.org/">Node.js</a> is required to install the necessary libraries to host the client.
                    <ul>
                        <li>
                            Node ships with NPM (the Node Package Manager), but not necessarily the latest version.
                            So after installing Node, you should upgrade to the latest version of NPM using the following command:
                            <pre><samp>npm install -g npm</samp></pre>
                        </li>
                        <li>
                            Windows systems will continue running the old version of NPM, until you manually delete the old
                            version.  So you need to navigate in the windows command line to the following directory:
                            <ul>
                                <li><code>C:\Program Files\nodejs</code></li>
                            </ul>
                            and run the command
                            <pre><samp>npm install npm</samp></pre>
                        </li>
                    </ul>
                    <br>
                </li>
                <li>
                	<a href="http://bower.io/">Bower</a> is require to install highcharts.js and jQuery libraries for now
                	<p>
                        To install run the following command
                        <pre><samp>npm install bower -g</samp></pre>
                    </p>
                </li>
                <li>
                    Currently to run this project on mulitple platforms requires <a href="http://cordova.apache.org/">Cordova</a>
                    <pre><samp>npm install cordova -g</samp></pre>
                </li>
            </ol>

            <h2>Setting up a new project</h2>
            <ol>
                <li>
                    Clone the git repository with the following command
                    <pre><samp>git clone https://github.com/rkrauskopf/clientSuite.git </samp></pre>
                </li>
                <li>
                    From the <code>clientSuite/www</code> directory run the following command.
                    <pre><samp>npm install</samp></pre>
                </li>
                <li>
                    From the <code>clientSuite/www</code> directory run the following command.
                    <pre><samp>bower install</samp></pre>
                </li>
                <li>
                    To use the client from a browser run the following command from the <code>clientSuite/www</code> directory.
                    <pre><samp>cordova serve </samp></pre>
                </li>
            </ol>
        </main>
    </body>
</html>

About

A cordova project that involves reading an Apache CouchDB to display data read from an arduino sketch to the user

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published