Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sybrex/til
Today I Learned
https://github.com/sybrex/til
Last synced: about 1 month ago
JSON representation
Today I Learned
- Host: GitHub
- URL: https://github.com/sybrex/til
- Owner: sybrex
- Created: 2020-05-13T06:09:41.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-02-16T01:39:48.000Z (almost 2 years ago)
- Last Synced: 2023-03-03T19:27:20.277Z (almost 2 years ago)
- Language: HTML
- Size: 403 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# TIL
Today I Learned# Deploy
```
# list of all coammands
pipenv run fab --list# deploy
pipenv run fab deploy --branch master --deps --hosts
```systemd
-------
```
[Unit]
Description=uWSGI instance to serve til.viktors.info
After=network.target[Service]
User=deployer
Group=nginx
WorkingDirectory=/srv/www/til
ExecStart=/usr/local/bin/pipenv run uwsgi --ini uwsgi.ini
```nginx
-----
```
server {
listen 80;
server_name til.viktors.info;access_log /var/log/nginx/til.access.log;
error_log /var/log/nginx/til.error.log;location / {
include uwsgi_params;
uwsgi_pass unix:/srv/www/til/uwsgi.sock;
}
}
```Docker
------
Running mongodb container for development
```shell
docker run --name local-mongo -p 27017:27017 -d mongo:latest
```