Skip to content

mikkotan/servilo

Repository files navigation

Servilo

Servilo

Servilo is a mobile application to find restaurants for users as well as a content manager for restaurant owners.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

Things needed first:

  • NodeJS
  • Ionic
  • Cordova
  • Android SDK
  • Gradle

Installation Steps for Mac OSX and Linux

NodeJS

  • Installing NodeJS for Mac OSX
    • Open your terminal and update your homebrew brew update
    • Install nodejs using brew install node
    • Try running npm -v and you should see something like this 5.4.2, and node -v and should see something like this v8.2.2
  • Installing NodeJS for Linux
    • Open your terminal and install NodeJS and npm by running sudo apt-get install nodejs npm
    • Try running node -v and npm -v if you have installed it successfully
    • If you are running a 64-bit version of Ubuntu, you'll need to install the 32-bit libraries since Android is only 32-bit at the moment. $ sudo apt-get install ia32-libs If you are on Ubuntu 13.04 or greater, ia32-libs has been removed. You can use the following packages instead: $ sudo apt-get install lib32z1 lib32ncurses5 lib32bz2-1.0

Ionic

  • Open your terminal and start by installing cordova by running sudo npm install -g cordova. Cordova is a dependency of Ionic
  • Install ionic by running sudo npm install -g ionic
  • Try running cordova -v and ionic -v to test if you have successfully installed

Android SDK and Gradle

  • For Android SDK and Gradle we suggest you to download Android Studio, both Android SDK and Gradle will be included along with Android Studio. You may download it here:

Installation Steps for Windows

NodeJS

  • Download the windows installer from the NodeJS web site.
  • Run the installer (the .msi file you've downloaded)
  • Follow the prompts of the installer
  • Restart your computer. You won't be able to run NodeJS until you restart your computer.
  • Open your terminal and test NodeJS by running node -v and npm -v

Ionic

  • Open your terminal and start by installing Cordova by running npm install -g cordova.
  • Install Ionic by running npm install -g ionic.
  • Try running cordova -v and ionic -v in your terminal and see if you've installed it successfully.

Android SDK and Gradle

  • For Android SDK and Gradle we suggest you to download Android Studio, both Android SDK and Gradle will be included along with Android Studio. You may download it here.

Running the Project locally

  • First clone the project, open the terminal and run this command git clone https://github.com/michaelunltd/servilo.git
  • Change directory to project by running cd servilo.
  • Run ionic serve and open http://localhost:8100.

Running the app on a Device

  • Make sure you've ran the project locally (see above).
  • Plugin your android device using micro usb datacable to your computer.
  • Make sure it is recognized by running adb devices.
  • Go to project directory
  • Run cordova add platform android to add android as platform.
  • Then run ionic run android. This will run and install the project on the connected device.

Built With

  • Ionic
  • AngularJS
  • NodeJS
  • Firebase

Authors

  • Ballon, Jireh
  • Buaron, Jio
  • Gasataya, JMatthew
  • Labtic, John Matthew
  • Tan, Michael Rasheed

Acknowledgments

  • Dojo8 Coworking Space for discounted office space.
  • Firebase Community Slack for helping us out in day to day problems.
  • Jacob Wenger [Firebase Core Engineer] - for helping us in security problems.

About

Repository for Servilo

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors