flutter-vienna-hackathon-25/wien_talks_server
2025-08-17 11:57:58 +02:00
..
bin flatten repo 2025-08-17 11:57:58 +02:00
config flatten repo 2025-08-17 11:57:58 +02:00
deploy flatten repo 2025-08-17 11:57:58 +02:00
env.d flatten repo 2025-08-17 11:57:58 +02:00
lib flatten repo 2025-08-17 11:57:58 +02:00
migrations flatten repo 2025-08-17 11:57:58 +02:00
test/integration/test_tools flatten repo 2025-08-17 11:57:58 +02:00
web flatten repo 2025-08-17 11:57:58 +02:00
.env.template flatten repo 2025-08-17 11:57:58 +02:00
.gcloudignore flatten repo 2025-08-17 11:57:58 +02:00
.gitignore flatten repo 2025-08-17 11:57:58 +02:00
analysis_options.yaml flatten repo 2025-08-17 11:57:58 +02:00
CHANGELOG.md flatten repo 2025-08-17 11:57:58 +02:00
dart_test.yaml flatten repo 2025-08-17 11:57:58 +02:00
docker-compose.deploy.yaml flatten repo 2025-08-17 11:57:58 +02:00
docker-compose.local.yaml flatten repo 2025-08-17 11:57:58 +02:00
Dockerfile flatten repo 2025-08-17 11:57:58 +02:00
Makefile flatten repo 2025-08-17 11:57:58 +02:00
pubspec.lock flatten repo 2025-08-17 11:57:58 +02:00
pubspec.yaml flatten repo 2025-08-17 11:57:58 +02:00
README.md flatten repo 2025-08-17 11:57:58 +02:00

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