A sample Symfony project to create a Nano Blog.
git clone https://github.com/ismailatkurt/nano-blog.git NanoBlog
cd NanoBlog
composer install
CREATE DATABASE nano_blog;
CREATE USER 'nano_blog_user'@'localhost' IDENTIFIED BY 'nano_blog_user_password';
GRANT ALL PRIVILEGES ON nano_blog . * TO 'nano_blog_user'@'localhost';
php bin/console doctrine:schema:update --force
php bin/console fos:user:create testuser [email protected] password --super-admin
INSERT INTO nano_blog.language (name) VALUES ('en');
INSERT INTO nano_blog.language (name) VALUES ('de');
php bin/console server:start
Go to: http://localhost:8000/en/login
Login with:
- username: testuser
- password: password
cd [project root]
php vendor/phpunit/phpunit/phpunit --bootstrap tests/unittests/Bootstrap.php --configuration tests/unittests/phpunit.xml tests/unittests/src --teamcity