How to install the ICO DASHBOARD SCRIPT from BitExchange?

Installation Guide for the ICO DASH - A full fledged system for running your ICO
Post Reply
bitexchange
Site Admin
Posts: 146
Joined: Tue Apr 03, 2018 2:12 pm

How to install the ICO DASHBOARD SCRIPT from BitExchange?

Post by bitexchange » Tue Jul 17, 2018 3:34 pm

In this post we will show you how to install the ICO Dashboard Script (Web) from BitExchange. For convenience, we assume that you are installing the script on a Webfaction or a Digital Ocean server.
If you haven't purchased a Webfaction server ( get it here ) or Digital Ocean server ( get it here )

See the Latest Demo Here View latest Demo and Get the latest TokenDash here: BUY ICO Dashboard script


Setting up server for installation of source code

Recommended Requirements:​ Ubuntu 16.0 PHP 7.2^ MYSQL 5.7.0^ and Composer

Since different hosting companies have different methods of installing the OS and the dependencies, please follow your hosting providers instructions to set up the above mentioned Recommended requirements.

Install PHP:

Here we will show how to install php 7.2 version ( you can install php7.2 or above) because our script is developed on laravel V5.6

Code: Select all

sudo apt-get update && apt-get upgrade
sudo apt-get install python-software-properties
sudo apt-get-repository ppa:ondrej/php
sudo apt-get update
sudo apt-get install php7.2
To check if PHP 7.2 is iinstalled on your server, run the following command

Code: Select all

php -v
Now install php and apache2 modules, run the following commands

Code: Select all

apt-get install php-pear php7.2-curl php7.2-dev php7.2-gd php7.2-mbstring
php7.2-zip php7.2-xml php-mcrypt php7.2-common
Install Apache2 Server :
First you have to install apache server which will serve the app from browser. Run the below Command,

Code: Select all

sudo apt-get update && apt-get upgrade
sudo apt-get install apache2 libapache2-mod-php7.2 php7.2-fpm
After apache installed successfully, you can check via command :

Code: Select all

apache2 -v
For more information visit : https://tutorials.ubuntu.com/tutorial/i ... e-apache#1

Now you need to enable apache2 rewrite module so that laravel pretty url works.

Code: Select all

sudo a2enmod rewrite
sudo service apache2 restart
Now type your server ip on browser and hit enter. You will see a default server landing page.

Image

Install Mysql DB Server and phpmyadmin:

Install mysql-server packages for MySQL database. Also, install php-mysql package to use MySQL support php and also phpmyadmin to access mysql db from browser. Use the following command to install.

Code: Select all

sudo apt-get install mysql-server php7.2-mysql
sudo mysql_secure_installation
sudo apt-get install phpmyadmin
Now restart the system apache2 and mysql services

Code: Select all

sudo systemctl restart apache2.service
sudo systemctl restart mysql.service
For more information visit link :
https://tecadmin.net/install-apache-mys ... ntu-16-04/

Now navigate to phpmyadmin via browser :

http://{your-server-ip}/phpmyadmin

Login in phpmyadmin with your username and password that you setup while installing. Create empty database. If you don’t know, then google how to create new database using phpmyadmin.

Install Composer:

Follow the the link to install composer
https://www.digitalocean.com/community/ ... untu-16-04

UPLOADING THE SOURCE CODE PACKAGE

- Unzip the contents of the Source Code Zip package in a new folder, for example, let’s call it
icodash.

Assuming you want to install it under the root domain.

Now, use an FTP program such as FileZilla to upload the contents of the icodash​ folder under
the /var/www/html​ public folder.

Image

Now navigate to the /var/www/html/icodash​ folder in terminal and update the laravel
dependencies, run the following command

Code: Select all

sudo composer update
Or if above command at end gives error then try,

Code: Select all

sudo composer update --no-scripts
*give 777 permission for storage​ and bootstrap​ folder
* give 755 permission to the project folder(icodash​ folder)

Open the .env file under:

Code: Select all

/icodash/.env
[Change the DB connection settings, mail, Google login settings, ]

After this run following commands

Code: Select all

sudo php artisan migrate
sudo php artisan db:seed
sudo php artisan storage:link
php artisan passport:install --force
Now to run the app from browser, you need to point you {server-ip} to
/var/www/html/icodash/ public​ folder, to do this follow this steps
Open in editor :
/etc/apache2/sites-available/000-default.conf​ file
DocumentRoot /var/www/html​ >> change this to
DocumentRoot /var/www/html/icodash/public
In /etc/apache2/apache2.conf edit

Code: Select all

<Directory /var/www/>
Options Indexes FollowSymLinks
AllowOverride None
Require all granted
</Directory>
Change AllowOverride None >> AllowOverride All

Now restart the apache2 server, run following command :

Code: Select all

sudo apache2 reload
sudo apache2 restart
*now you can navigate you browser with {server-ip} to check website is working or not .
Now setup your wallet in admin panel :
Step 1: Navigate to admin panel {server-ip}/admin/login
Default admin user : admin@mailinator.com
Password : 123456
Step 2: Goto account page by clicking left side menu
Step 3: Then in wallet section setup following fields

Transaction hash,
Contract Address,
Contract name,
Contact ABI


The ICO Dashboard should be up and running.

Follow the next Guide on how to setup the ICO Dashboard Script here
Attachments
button_buy-now.png
button_buy-now.png (3.45 KiB) Viewed 1120 times
btn-view-demo.png
btn-view-demo.png (3.8 KiB) Viewed 1120 times

Post Reply

Return to “Installation Guide”