myurasov / spa-bootstrap
SPABootstrap
Requires
- php: >=5.3.3
- dflydev/doctrine-orm-service-provider: *
- doctrine/dbal: ~2.4
- doctrine/orm: ~2.4
- ircmaxell/password-compat: dev-master
- myurasov/mym-auth: ~1.0.0
- myurasov/mym-rest-tools: ~1.0.0
- myurasov/mym-utils: ~1.0.0
- silex/silex: ~1.0
- symfony/console: ~2.4
- symfony/validator: ~2.4
- twig/twig: ~1.0
This package is not auto-updated.
Last update: 2024-12-31 07:12:30 UTC
README
Bootstrap project for creating SPA sites with RESTful API backend. Utilizes Angular, Bootstrap, Silex, Doctrine, Symforny Components.
Installation
-
Clone project by running
git clone http://github.com/myurasov/spa-bootstrap.git
-
Run
composer update
in root dir -
Run
bower update
insrc/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:
$ 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!
Requirements
- php 5.3.3+
- composer
- bower
- LESS compiler
Demo
http://spa-bootstrap.yurasov.me/
test@example.com / password
License
Copyright (c) 2014 Mikhail Yurasov me@yurasov.me
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:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
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.