moonstream backend
Installation and setup
To set up Moonstream API for development, do the following:
- Clone the git repository
- Install postgresql (https://www.postgresql.org/download/linux/ubuntu/)
Run server with Docker
To be able to run Moonstream API with your existing local or development services as database, you need to build your own setup. Be aware! The files with environment variables docker.dev.env lives inside your docker container!
- Copy
configs/sample.envtoconfigs/docker.dev.env, or use your local configs fromconfigs/dev.envtoconfigs/docker.dev.env - Edit in
docker.dev.envfileMOONSTREAM_DB_URIand other variables if required - Clean environment file from
exportprefix and quotation marks to be able to use it with Docker
sed --in-place 's|^export * ||' configs/docker.dev.env
sed --in-place 's|"||g' configs/docker.dev.env
Build container on your machine
docker build -t moonstreamapi-dev .
Run moonstreamapi-dev container, with following command we specified --network="host" setting which allows to Docker container use localhost interface of your machine (https://docs.docker.com/network/host/)
docker run --name moonstreamapi-dev \
--network="host" \
--env-file="configs/docker.dev.env" \
-p 7481:7481/tcp \
-ti -d moonstreamapi-dev
Attach to container to see logs
docker container attach moonstreamapi-dev
Metadata
Release files for moonstreamapi 0.4.11
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| moonstreamapi-0.4.11.tar.gz | 107.5 kB | Without provenance | Details for moonstreamapi-0.4.11.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| moonstreamapi-0.4.11-py3-none-any.whl | Python 3 | none | any | Details for moonstreamapi-0.4.11-py3-none-any.whl |
Total release size: 236.3 kB
Release files / moonstreamapi-0.4.11.tar.gz
| Download URL | moonstreamapi-0.4.11.tar.gz |
|---|---|
| Size | 107.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f58c0c0625942c855a30714be2ecfc05808bef4b48ff0b3ba89025b6fd04c097
|
|
BLAKE2b-256 checksum How to use checksums |
fa8c9cc2e868be8c2cc8af6dceb4e05207140be5fe75a13b772d02693fb49a82
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.8.18
|
Release files / moonstreamapi-0.4.11-py3-none-any.whl
| Download URL | moonstreamapi-0.4.11-py3-none-any.whl |
|---|---|
| Size | 128.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
73533267f7755433210d34bc138739c51c86e2d2749f1c14634b937ec9192c40
|
|
BLAKE2b-256 checksum How to use checksums |
5f44b651316d3732fae3d72397e2cde0004d05b6838729a91e5cd40536c983b3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.8.18
|
Security for moonstreamapi 0.4.11
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.