DevDungeon README.md
A remake of NanoDano's devdungeon.com blog, made with Symfony.
Requirements
You will likely need to install the extensions php-mbstring
, php-xml
and php-intl
. Composer will complain if any other is missing.
Development setup
Create the .env.local
file and configure it as needed.
DATABASE_URL=mysql://<db_user>:<db_password>@localhost/<database_name>?serverVersion=<db_server_version>
APP_ENV=dev
Install dependencies.
composer install
npm install
Build the assets.
npm run dev
Create the database you specified in the last step and execute the Doctrine migrations.
php bin/console doctrine:migrations:migrate
Load the fixtures. This will create a contributor account with username visitante
and password visitante
.
php bin/console doctrine:fixtures:load
If you wish, PosterPy can be used to quickly fill many pages with blog posts.
Recommendations
- Use the
UTC
timezone in your PHP configuration. Localized time will be generated from UTC time as configured by the user or automatically detected by client-side scripting.
License
Copyright 2019-2020 Douglas Silva (0x9fd287d56ec107ac)
This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License along with this program. If not, see https://www.gnu.org/licenses/.