Skip to content

A platform for writing novels. Details for Writer2l can be found on the official website at https://writer2l.com/.

License

Notifications You must be signed in to change notification settings

aleksejs1/writer2l

Repository files navigation

Writer2l (Writer tool)

Showcase

A platform for writing novels. Details for Writer2l can be found on the official website at https://writer2l.com/.

Installation

Manual

# 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

Update

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

docker-compose up

Tech spec

Writer2l is written in PHP with Symfony 5 framework, MySQL database, webpack.

License

The Writer2l source is provided under the MIT License. The libraries used by, and included with, Writer2l are provided under their own licenses.

Inspiration

Creation of Writer2l was inspired by yWrite and BookStack.

About

A platform for writing novels. Details for Writer2l can be found on the official website at https://writer2l.com/.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published