GithubHelp home page GithubHelp logo

aleksejs1 / writer2l Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 0.0 3.46 MB

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

Home Page: https://writer2l.com/

License: MIT License

Dockerfile 1.05% PHP 62.42% JavaScript 5.46% SCSS 1.36% Twig 29.71%
symfony php selfhosted

writer2l's Introduction

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.

writer2l's People

Contributors

aleksejs1 avatar dependabot[bot] avatar

Stargazers

Juris Malinens avatar 3JoB SRA avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.