https://github.com/bitbloxhub/shorttalk
write short 50-character posts
https://github.com/bitbloxhub/shorttalk
django django-project heroku python python-3 python3
Last synced: 27 days ago
JSON representation
write short 50-character posts
- Host: GitHub
- URL: https://github.com/bitbloxhub/shorttalk
- Owner: bitbloxhub
- License: isc
- Created: 2021-06-15T23:30:43.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2021-06-17T20:28:48.000Z (almost 5 years ago)
- Last Synced: 2026-04-26T04:41:57.491Z (about 2 months ago)
- Topics: django, django-project, heroku, python, python-3, python3
- Language: Python
- Homepage:
- Size: 19.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# shorttalk
write short 50-character posts with shorttalk
## Requirements
to start, you need [python 3.8.5](https://www.python.org/) and [node-foreman](http://strongloop.github.io/node-foreman/)
## Running
first, run `python_command -m venv env/`, where python_command is how you run python3.8, then run `./env/bin/pip install -r requirements.txt`.
then, when you need to run it, run:
```
# however you activate your virtualenv
nf start
```
but replace the line `# however you activate your virtualenv` with however you activate your virtualenv
## Scaling node-foreman
to scale node-foreman, replace `nf start` in the script above with `nf start -x access-port web=worker-number` and replace `access-port` with the port you will access the service on and replace `worker-number` with the number of server workers you want to start
## Deploying
here are the basic steps to prepare for deployment:
- set `DEBUG = False` in `shorttalk/settings.py`
- set up the email properly
if not on [heroku](https://www.heroku.com/), also:
- set up the database