SPA Bootstrap
Bootstrap project for creating SPA sites with RESTful API backend. Utilizes Angular, Bootstrap, Silex, Doctrine, Symforny Components., (*1)
Installation
- Clone project by running
git clone http://github.com/myurasov/spa-bootstrap.git
- Run
composer update in root dir
- Run
bower update in src/www/vendor
- Edit database settings in
src/modules/config.dev.php
- Create database for your project
- Run
sudo src/cli/console app:service:install
- Add users with
app:admin:users command
-
Build LESS files like this:, (*2)
$ mkdir src/www/build
$ lessc src/www/dev/less/main.less > src/www/build/main.css
$ lessc src/www/dev/less/bootstrap/bootstrap.less > src/www/build/bootstrap.css
-
Done!, (*3)
Requirements
-
php 5.3.3+
- composer
- bower
- LESS compiler
Demo
http://spa-bootstrap.yurasov.me/, (*4)
test@example.com / password, (*5)
License
Copyright (c) 2014 Mikhail Yurasov me@yurasov.me, (*6)
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:, (*7)
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software., (*8)
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE., (*9)