2017 © Pedro Peláez
 

project talesweaver

Book writing app

image

szymach/talesweaver

Book writing app

  • Sunday, July 15, 2018
  • by szymach
  • Repository
  • 1 Watchers
  • 0 Stars
  • 0 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 14 Versions
  • 0 % Grown

The README.md

Talesweaver

This is an application designed to help story writers to keep track of various elements like scenes, characters, items or events., (*1)

Installation

Requirements

If you wish to start your own instance of the application, you will need: 1. Composer + PHP 7.2+ along with extensions listed in composer.json 2. Yarn + node.js 10 3. Webpack 4 4. MySQL 5.7, (*2)

Setup

Dependenices

composer.phar install
yarn install

Assets

Just run webpack or node_modules/.bin/webpack if you do not have a global Webpack installation., (*3)

Database

The application is build around the Symfony framework and has a concept of environments (for production, testing and development), more here. For each environment the application expects a different database to prevent data from different ones mixing together. You can create each one with the following commands:, (*4)

bin/console doctrine:database:create --env={one of: dev,test,test_cypress,prod}
bin/console doctrine:schema:create --env={one of: dev,test,test_cypress,prod}
# if you want to load test data
bin/console doctrine:fixtures:load -n --group=development --env={one of: dev,test,test_cypress,prod}

At this point you basically have a running setup. I will try to provide a docker-compose.yml file sometime in the future to provide an out-of-the-box environment for development., (*5)

The Versions