Dev stack:
- asyncio
- sockjs
- rabbitmq
- redis
- docker
Install git on your system https://git-scm.com/book/en/v2/Getting-Started-Installing-Git
git clone [email protected]:vtemelife/sockjs.git
cd sockjs
Install docker on your system https://runnable.com/docker/getting-started/
cp envsets/docker_dev.env .docker.env
docker-compose build
docker-compose up
brew install pyenv
brew install postgresql
brew install rabbitmq
brew services
brew services start postgresql
brew services start rabbitmq
apt...
Please, execute these commands to activate your pyenv (for bash just replace .zshrc with .bashrc)
echo 'eval "$(pyenv init -)"' >> ~/.zshrc
eval "$(pyenv init -)"
pyenv install 3.7.4
pyenv shell 3.7.4
python -mvenv env
source env/bin/activate
cp envsets/local_dev.env .local.env
source .local.env
make install
make start
make test
pytest file/path/filename.py::ClassName::test_method