This repository contains all the back end code for the current ustwo.com-backend website. This backend site is to manage the whole blog contents for ustwo.com-frontend
- First install LAMP on Ubuntu server, MAMP Version 4.1 (454) on mac locally.
- Clone repo from Bitbucket to /var/www/html/ on Ubuntu, /Applications/MAMP/htdocs/two_backend on Mac locally. You can get LAMP/MAMP information from this link. On Ubuntu
http://138.197.213.140/info.php
On Mac
http://localhost:8888/two_backend/info.php
- Create DB on mySql Follow command in Terminal on Linux
$ mysql -u root -p
Follow link on Mac
http://localhost:8888/MAMP/index.php?page=phpmyadmin&language=English
mysql> CREATE DATABASE wp_myblog;
mysql> GRANT ALL PRIVILEGES ON wp_myblog.* TO 'root'@'localhost' IDENTIFIED BY 'your_chosen_password_here';
mysql> FLUSH PRIVILEGES;
mysql> EXIT;
We installed Wordpress v4.7.2 on Ubuntu 16.04 for publish. see more If you installed Wordpress from Bitbucket repo you can skip this steps. For the websit we created wp_myblog db in mySql as following. mysql> CREATE DATABASE wp_myblog; mysql> GRANT ALL PRIVILEGES ON wp_myblog.* TO 'root'@'localhost' IDENTIFIED BY 'your_chosen_password_here'; mysql> FLUSH PRIVILEGES; mysql> EXIT;
We installed Wordpress on MacOS X Sierra(10.12.2) for development locally. see more