PySlackers website for invites and learning resources
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.github
ansible
app
bin
client
config
requirements
.dockerignore
.gitignore
.jsbeautifyrc
.python-version
.pyup.yml
.travis.yml
CODE_OF_CONDUCT.md
CONTRIBUTING.md
Dockerfile
LICENSE.txt
Makefile
Procfile.dev
README.md
docker-compose.yml
manage.py
package.json
tox.ini
yarn.lock

README.md

pyslackers-website

Build Status

The website for the PySlackers Slack community - a place for python learners, teachers, tinkerers, etc.

Development

Please see CONTRIBUTING.md#developing.

Testing

Please see CONTRIBUTING.md#testing

Deployment

We use ansible to deploy our apps and configure servers, which adds a more dependencies:

# This is intentionally excluded from the requirements.txt, and should
# be done outside a virtualenv (ansible doesn't work properly with virtualenvs)
$ pip3 install ansible

To deploy, you need to do a few things:

  1. Install the ansible role dependencies
    • cd ansible && ansible-galaxy install -r requirements.yml
  2. Set the password file:
    • echo "MY PASSWORD" > ansible/.pass
  3. Run the playbook (omit the tags if you need to provision a server):
    • cd ansible && ansible-playbook playbook.yml --tags "deploy"