https://github.com/redsoftwaresystems/rss-intranet
Sample intranet created in Rust with Actix framework
https://github.com/redsoftwaresystems/rss-intranet
Last synced: over 1 year ago
JSON representation
Sample intranet created in Rust with Actix framework
- Host: GitHub
- URL: https://github.com/redsoftwaresystems/rss-intranet
- Owner: RedSoftwareSystems
- License: mit
- Created: 2018-10-10T16:08:21.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-02-20T08:16:46.000Z (over 7 years ago)
- Last Synced: 2025-02-16T18:38:42.222Z (over 1 year ago)
- Language: Rust
- Size: 12.7 KB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# CORE DAO ##
## Integration tests ##
To run integration tests you need to use a postgres database. The fastest way is to obtain it from docker.
Use the following command:\
`docker run --name 'pgactix' -p 5433:5432 -e POSTGRES_PASSWORD=pgactix -e POSTGRES_USER=pgactix -d postgres`\
Once the db has started, load the script `./test_resources/pgactix.dump` with this command:\
`docker run -ti --rm --link pgactix:pgactix -e PGPASSWORD=pgactix -v $(pwd)/test_resources:/init postgres /bin/bash`\
From inside the container run this command to create tables and upload test data:\
`psql -h pgactix -U pgactix < /init/pgactix.dump`