Angular simple site

Angular simple site builder

Download .zip Download .tar.gz View on GitHub

Angular simple site builder


About

Angular simple site builder is a site template based on AngularJS framework.

Basic template features:

  1. User authtorization support.
  2. WYSIWYG page editor.
  3. Support unlimit multilevel site menu.
  4. Two type of pages: news or simple page.
  5. All backend functions list in one PHP class

Application structure

  • backend - Applicaton model in PHP files
  • scripts - Application controllers
  • views - Application HTML templates

Installation

1. Clone this project or Download that ZIP file

$ git clone https://github.com/utkinolegv/angular-simple-site.github.io

2. Make sure you have bower and npm installed globally

$ sudo apt-get install npm
$ sudo npm install -g bower

3. On the command prompt run the following commands

$ cd `project-directory`
  • bower install is ran from the postinstall
$ npm install 
$ npm start

4. Create MySQL database from db.sql

  • Change database settings in backend/classes/config.class.php

5. Change site settings in scripts/app.js

  • $rootScope.siteName = 'You site name';
  • $rootScope.footerLeft = 'Left footer HTML text';
  • $rootScope.footerRight = 'Right footer HTML text';

6. Login and create first page

  • Default username test and password test