mirror of
https://github.com/timokz/flutter-vienna-hackathon-25.git
synced 2025-11-08 21:24:20 +01:00
|
|
||
|---|---|---|
| .. | ||
| bin | ||
| config | ||
| deploy | ||
| env.d | ||
| lib | ||
| migrations | ||
| test/integration/test_tools | ||
| web | ||
| .env.template | ||
| .gcloudignore | ||
| .gitignore | ||
| analysis_options.yaml | ||
| CHANGELOG.md | ||
| dart_test.yaml | ||
| docker-compose.deploy.yaml | ||
| docker-compose.local.yaml | ||
| Dockerfile | ||
| Makefile | ||
| pubspec.lock | ||
| pubspec.yaml | ||
| README.md | ||
wien_talks_server
Local Development Environment
Setting up a local postgres container, run the following:
make local
This will first create an .env file with default values and then launch the
container.
You can then launch the Serverpod server like so:
dart bin/main.dart
If your database schema isn't initialized yet, you will have to run the following:
dart bin/main.dart --apply-migrations
See the Makefile for all targets.
Passwords
The password used in your environment files (.env for local development and
env.d/postgres.env.template for deployment) must correspond to the password in
config/passwords.yaml.
The config/passwords.yaml file must be created manually at the moment; for
example:
development:
database: your-password-here