https://github.com/flevi29/sqitch_slonic_node_example
https://github.com/flevi29/sqitch_slonic_node_example
Last synced: 10 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/flevi29/sqitch_slonic_node_example
- Owner: flevi29
- Created: 2022-12-17T09:56:35.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2022-12-18T10:07:06.000Z (over 3 years ago)
- Last Synced: 2025-03-09T19:45:28.222Z (over 1 year ago)
- Language: JavaScript
- Size: 18.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# SQITCH and slonik Node.js example
Requirements:
- Node.js LTS
- [SQITCH](https://sqitch.org/)
- Docker
> NOTE: On Windows SQITCH needs to be installed on
> [WSL](https://learn.microsoft.com/en-us/windows/wsl/install) default
> distribution, and it needs to be run as root user in order to have proper file
> permissions in Windows directories
Run:
```shell
cp .env.example .env
# Edit .env variables as needed
# Linux
docker compose up -d
# Windows
docker-compose up -d
node scripts/set_sqitch_email_name.mjs 'your name' 'your email'
node scripts/set_sqitch_db_target.mjs
# Linux
sqitch deploy
# Windows
wsl -- sudo sqitch deploy
npm run build
npm run start
```