Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bootstrap dev environment #118

Merged
merged 5 commits into from
Apr 25, 2019
Merged

Bootstrap dev environment #118

merged 5 commits into from
Apr 25, 2019

Conversation

iiegn
Copy link
Collaborator

@iiegn iiegn commented Apr 25, 2019

This PR fixes #108:

  • prepare a docker-ised dev environment
  • start this environment

This addresses #108 and (partly) #91
- Introduce `siteconfig` vars `dbSchemaFile` and `dbFile`
- Add a schema textfile for the DB `dbFile:lexonomy.sqlite`
- Use this file during `node adminscripts/init.js` and init the DB
Use `docker-compose` to setup a dev environment:
- Prepare the environment with `npm install` - but use an extra volume
  for the `node_modules` (to avoid sharing incompatible binaries between
  the docker-local environment and the user-local environment)
- Set-up the dev environment such that the code is being shared between
  the environments
@iiegn iiegn requested a review from rambousek April 25, 2019 09:56
@rambousek rambousek merged commit 0a47b93 into master Apr 25, 2019
@iiegn iiegn mentioned this pull request Apr 25, 2019
@iiegn iiegn deleted the fix-108 branch April 25, 2019 10:38
@iiegn iiegn restored the fix-108 branch April 29, 2019 11:32
@iiegn iiegn deleted the fix-108 branch April 29, 2019 11:33
@iiegn iiegn changed the title Fix 108 Bootstrap dev environment Jul 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bootstrap dev environment
2 participants