Django web server application for the open source project sync-party
This tutorial will help you run server locally
Docker compose
is used to make it easier to start and deploy the web server. See the
official docker installation documentation.
Clone the repo
git clone https://github.com/yakimenko73/sync-party-server.git
Run server with Docker
- Create
.env.dev
file and fill it according to theenv-file.template
cat env-file.template >> .env.dev
- Build and run docker image
docker build --tag web-app . docker run --env-file=.env.dev --net=host web-app
Run production server with nginx
by docker-compose
- Create
.env.prod
file and fill it according to theenv-file.template
cat env-file.template >> .env.prod
- Run
docker-compose
docker-compose up --build
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/amazing-feature
) - Commit your Changes (
git commit -m 'Add some amazing-feature'
) - Push to the Branch (
git push origin feature/amazing-feature
) - Open a Pull Request
- Email - r.yakimenko.73@gmail.com