Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/joeybaker/rachelandjoey
https://github.com/joeybaker/rachelandjoey
Last synced: 15 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/joeybaker/rachelandjoey
- Owner: joeybaker
- License: other
- Created: 2014-08-02T01:57:55.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2023-05-27T20:31:17.000Z (over 1 year ago)
- Last Synced: 2024-11-27T11:12:04.576Z (about 2 months ago)
- Language: JavaScript
- Homepage: https://rachelandjoey.com
- Size: 2.6 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
**Table of Contents** *generated with [DocToc](https://github.com/thlorenz/doctoc)*
- [rachelandjoey.com](#rachelandjoeycom)
- [Running](#running)
- [Server setup](#server-setup)
- [Tests](#tests)
- [Developing](#developing)
- [Adding ENV tokens](#adding-env-tokens)# rachelandjoey.com
## Running
```bash
sudo docker build -t joeybaker/rachelandjoey .
sudo docker rm -f rachelandjoey
sudo docker run -d --name rachelandjoey joeybaker/rachelandjoey
``````bash
sudo docker rm -f bud
sudo docker run -d -v /srv/bud:/data -p 443:443 --name bud --link rachelandjoey:backend joeybaker/bud-tls
``````bash
sudo docker rm -f redirector
sudo docker run -d --restart=always -p 80:80 --name redirector getable/https-redirect
```### Server setup
* use docker
* ensure you have env tokens set:
* `LOGGLY_TOKEN`
* `LOGGLY_SUBDOMAIN`
* run `start.sh`## Tests
Tests are [tape](https://github.com/substack/tape). They can be run with `npm test`.## Developing
`npm run dev` the JS in live reload mode, it's not the full server
`npm run component -- component/dir` can run just a single component
`npm start` boots the server### Adding ENV tokens
* export from `~/.zprofile` for the root user on the server
* add to the docker run command in `start.sh`
* use in the app via `server.app.config`