Skip to content

Commit

Permalink
include sqlpage.json by default
Browse files Browse the repository at this point in the history
  • Loading branch information
lovasoa committed Sep 17, 2023
1 parent 7866bc7 commit c5d04d6
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 9 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,11 @@ jobs:
rm -rf sqlpage/templates/*.handlebars;
chmod +x sqlpage*/sqlpage;
mv 'sqlpage macos-latest/sqlpage' sqlpage.bin;
tar --create --file sqlpage-macos.tgz --gzip sqlpage.bin sqlpage/sqlpage.json sqlpage/migrations sqlpage/templates;
tar --create --file sqlpage-macos.tgz --gzip sqlpage.bin sqlpage/sqlpage.json sqlpage/migrations sqlpage/templates sqlpage/sqlpage.json;
mv 'sqlpage ubuntu-20.04/sqlpage' sqlpage.bin;
tar --create --file sqlpage-linux.tgz --gzip sqlpage.bin sqlpage/migrations sqlpage/templates;
tar --create --file sqlpage-linux.tgz --gzip sqlpage.bin sqlpage/migrations sqlpage/templates sqlpage/sqlpage.json;
mv 'sqlpage windows-latest/sqlpage.exe' .
zip -r sqlpage-windows.zip sqlpage.exe sqlpage/migrations sqlpage/templates;
zip -r sqlpage-windows.zip sqlpage.exe sqlpage/migrations sqlpage/templates sqlpage/sqlpage.json;
- name: Create Release
id: create_release
uses: softprops/action-gh-release@v1
Expand Down
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# CHANGELOG.md

## 0.11.0 (unreleased)
## 0.11.0 (2023-09-17)
- Support for **environment variables** ! You can now read environment variables from sql code using `sqlpage.environment_variable('VAR_NAME')`.
- Better support for connection options in mssql.
- New icons (see https://tabler-icons.io/changelog)
Expand Down
6 changes: 1 addition & 5 deletions sqlpage/sqlpage.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
{
"database_url": "sqlite://./sqlpage.db?mode=rwc",
"max_database_pool_connections": 25,
"database_connection_idle_timeout_seconds": 60,
"database_connection_max_lifetime_seconds": 3600,
"sqlite_extensions": [],
"port": 8080
"listen_on": "localhost:8081"
}

0 comments on commit c5d04d6

Please sign in to comment.