TryGhost/Ghost
.
setup
task will install dependencies, initialise the database, set up git hooks, and initialise submodules.
main
knex-migrator
to manage database migrations.
ghost-<version>.tgz
, which can be installed with Ghost-CLI’s --archive
flag.
NODE_ENV=testing-mysql
ghost/admin
directory. Any time you have yarn dev
running the client tests will be available at http://localhost:4200/tests
yarn fix
.
Error: Cannot find module ‘./build/default/DTraceProviderBindings’yarn fix
.
ENOENT: no such file or directory, stat ‘path/to/favicon.ico’ at Error (native)yarn dev
.
TypeError: Cannot read property ’tagName’ of undefinedember test
at the same time as yarn dev
. Wait for tests to finish before continuing and wait for the “Build successful” message before loading admin.
yarn.lock conflictsyarn.lock
because there were dependency changes in both main
and <feature-branch>
.
package.json
dev-1
was added and dev dep dev-2
was removed)git reset HEAD package.json yarn.lock
- unstages the filesgit checkout -- package.json yarn.lock
- removes local changesyarn add dev-1 -D
- re-adds the dependency and updates yarn.lockyarn remove dev-2
- removes the dependency and updates yarn.lockgit add package.json yarn.lock
- re-stage the changesgit rebase --continue
- continue with the rebaseyarn
auto-generate the lockfile rather than trying to manually merge potentially incompatible changes.