Last active
March 19, 2018 11:25
-
-
Save mangopudding/f5a17579d73af1c66b4f99020215c16c to your computer and use it in GitHub Desktop.
CodeCanyon - NearmeApp - Ionic 2 Starter for Location Based Apps (Server Setup On Ubuntu Server)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Overview - Server Setup with Dokku | |
# I had purchased the NearmeApp from CodeCanyon.net for a personal project. | |
# After watching the YouTube video (https://www.youtube.com/watch?v=WcXL2WuYhok) on server setup, I decided to do this on my own server. | |
# Below are instructions for making it easier to setup and reference for future projects. | |
# | |
# Assumption is to be using a fresh install of Ubuntu Server 14.05. | |
# Must successfully install Dokku using the instructions below from their site | |
# - http://dokku.viewdocs.io/dokku/getting-started/installation/#1-install-dokku | |
# - http://dokku.viewdocs.io/dokku/getting-started/installation/#2-setup-ssh-key-and-virtualhost-settings | |
# Install MongoDB | |
sudo dokku plugin:install https://github.com/dokku/dokku-mongo.git mongo | |
# Create database called "myeventappdb" | |
sudo dokku mongo:create myeventappdb | |
# Create app called "myeventapp" | |
sudo dokku apps:create myeventapp | |
# Link the database and app together from the above steps | |
sudo dokku mongo:link myeventappdb myeventapp | |
# The above instructions setup the app/database shell. The CMS code still needs to be deployed! | |
# Overview - Deployment of Nearme CMS to Server | |
# - IMPORTANT - Make sure you review the FAQ section in the Items Details page as there are some depenendacy updates. | |
# https://codecanyon.net/item/nearmeapp-ionic-2-starter-for-location-based-apps/19184982 | |
# | |
# Assumption is that the Nearme CMS code is extracted and on your computer (not server) | |
# - | |
# - You'll need to be in the CMS folder to do the following. | |
# | |
# Initialize git repository | |
git init | |
# This command will add all the files in the directory to the repository | |
git add . | |
# This command will commit the files into the repository | |
git commit -m "First Commit into repository" | |
# IP Address is the ip address of your Ubuntu Server - change that. | |
git remote add dokku [email protected]:myeventapp | |
# This updates your Ubuntu server with the code. | |
git push dokku master | |
# Now... you should be able to go to your server and see the CMS. | |
# | |
# Fill out the form - this will be your admin account. | |
http://<your-server-ip>/install | |
# Now Login! | |
http://<your-server-ip>/install | |
# Hope this was helpful! |
Hi there.
The author had some conflicts with the front-end dependencies.
-
Go to the https://codecanyon.net/item/nearmeapp-ionic-2-starter-for-location-based-apps/19184982
-
In the FAQ section, there's solution for Fix Blank Page after CMS installation.
I will update the source code the top as well.
Hi, I'm following your manual and I see that part of installing dokku fails me ...
Herokuish e: sub-thread / usr / bin / dpkg returned an error code (1)
Hi @elsorro.
Assumption is to be using a fresh install of Ubuntu Server 14.05.
Must successfully install Dokku using the instructions below from their site
- http://dokku.viewdocs.io/dokku/getting-started/installation/#1-install-dokku
- http://dokku.viewdocs.io/dokku/getting-started/installation/#2-setup-ssh-key-and-virtualhost-settings
Which part are you getting stuck on?
Make sure you do an:
sudo apt-get update
sudo apt-get upgrade
then try installing Dokku:
wget https://raw.githubusercontent.com/dokku/dokku/v0.9.4/bootstrap.sh;
sudo DOKKU_TAG=v0.9.4 bash bootstrap.sh
hi,
i need you to setup cms
can we contact
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Dear mangopudding, Thank you, but still I get the same error. when I load the CMS its give me a black page but no login or install forms appear

