Servilo is a mobile application to find restaurants for users as well as a content manager for restaurant owners.
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.
Things needed first:
- NodeJS
- Ionic
- Cordova
- Android SDK
- Gradle
- Installing NodeJS for Mac OSX
- Open your terminal and update your homebrew
brew update - Install nodejs using
brew install node - Try running
npm -vand you should see something like this5.4.2, andnode -vand should see something like thisv8.2.2
- Open your terminal and update your homebrew
- Installing NodeJS for Linux
- Open your terminal and install NodeJS and npm by running
sudo apt-get install nodejs npm - Try running
node -vandnpm -vif 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-libsIf you are on Ubuntu 13.04 or greater,ia32-libshas been removed. You can use the following packages instead:$ sudo apt-get install lib32z1 lib32ncurses5 lib32bz2-1.0
- Open your terminal and install NodeJS and npm by running
- 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 -vandionic -vto test if you have successfully installed
- 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:
- Download the windows installer from the NodeJS web site.
- Run the installer (the
.msifile 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 -vandnpm -v
- 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 -vandionic -vin your terminal and see if you've installed it successfully.
- 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.
- 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 serveand openhttp://localhost:8100.
- 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 androidto add android as platform. - Then run
ionic run android. This will run and install the project on the connected device.
- Ionic
- AngularJS
- NodeJS
- Firebase
- Ballon, Jireh
- Buaron, Jio
- Gasataya, JMatthew
- Labtic, John Matthew
- Tan, Michael Rasheed
- 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.
