Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/channelstream/channelstream_landing
ChannelStream landing page
https://github.com/channelstream/channelstream_landing
Last synced: 27 days ago
JSON representation
ChannelStream landing page
- Host: GitHub
- URL: https://github.com/channelstream/channelstream_landing
- Owner: Channelstream
- Created: 2018-08-21T19:48:26.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-12-08T03:40:13.000Z (about 2 years ago)
- Last Synced: 2024-04-15T01:17:09.324Z (9 months ago)
- Language: HTML
- Size: 1.61 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 6
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Running application via docker for production
docker-compose up
Or manually# start the main server
docker run --rm -p 8000:8000 -e CHANNELSTREAM_ALLOW_POSTING_FROM=0.0.0.0 channelstream/channelstream:latest
# build the image for landing page backend
docker build . -t channelstream_landing
# run the backend code
docker run -ti --rm -p 6543:6543 USER_UID=`id -u` USER_GID=`id -g` -e CHANNELSTREAM_URL=http://172.17.0.2:8000 channelstream_landing
# Running application via docker for developmentUSER_UID=`id -u` USER_GID=`id -g` docker-compose -f docker-compose.yml -f docker-compose.dev.yml up
Or manually
# start the main server
docker run --rm -p 8000:8000 -e CHANNELSTREAM_ALLOW_POSTING_FROM=0.0.0.0 channelstream/channelstream:latest
# build the image for landing page backend
docker build . -t channelstream_landing
# run the backend code with hot reload
docker run -ti --rm -p 6543:6543 -e USER_UID=`id -u` -e USER_GID=`id -g` \
-e CHANNELSTREAM_URL=http://172.17.0.2:8000 \
--mount type=bind,source="$(pwd)"/backend,target=/opt/application \
--mount type=bind,source="$(pwd)"/rundir,target=/opt/rundir \
channelstream_landing
# build frontend code builder image
docker build . -f Dockerfile.static -t channelstream_landing_statics
# run the frontend code with hot reload
docker run -ti --rm -e USER_UID=`id -u` -e USER_GID=`id -g` \
-e FRONTEND_ASSSET_ROOT_DIR=/opt/rundir/static_build \
--mount type=bind,source="$(pwd)"/frontend,target=/opt/frontend \
--mount type=bind,source="$(pwd)"/rundir,target=/opt/rundir \
channelstream_landing_statics