A platform for writing novels. Details for Writer2l can be found on the official website at https://writer2l.com/.
# Create .env file
cp .env.dist .env
# Configure your env
nano .env
# Install deps
composer install
# Run migrations
php bin/console doctrine:migrations:migrate
# Create user [command] [new user username] [new user password]
php bin/console w2l:user:create admin qwerty
# Build assets
yarn install
yarn run dev
git pull
composer install --no-dev --optimize-autoloader
php bin/console doctrine:migrations:migrate
php bin/console cache:clear
In case if migration returns the error, try to update migration versions table in mysql:
CREATE TABLE `doctrine_migration_versions` (
`version` varchar(191) NOT NULL,
`executed_at` datetime DEFAULT NULL,
`execution_time` int DEFAULT NULL,
PRIMARY KEY (`version`)
);
INSERT INTO doctrine_migration_versions (version, executed_at, execution_time) SELECT concat("DoctrineMigrations\\Version", version), executed_at, 1 FROM migration_versions;
docker-compose up
Writer2l is written in PHP with Symfony 5 framework, MySQL database, webpack.
The Writer2l source is provided under the MIT License. The libraries used by, and included with, Writer2l are provided under their own licenses.