https://github.com/albertyw/nopages
https://github.com/albertyw/nopages
google-docs hacktoberfest
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/albertyw/nopages
- Owner: albertyw
- License: mit
- Created: 2024-10-21T05:48:32.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2026-02-28T23:21:49.000Z (4 months ago)
- Last Synced: 2026-03-01T02:16:58.933Z (4 months ago)
- Topics: google-docs, hacktoberfest
- Language: TypeScript
- Homepage:
- Size: 1.25 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# [nopages.net](https://www.nopages.net)
[](https://drone.albertyw.com/albertyw/nopages)
[](https://qlty.sh/gh/albertyw/projects/nopages)
[](https://qlty.sh/gh/albertyw/projects/nopages)
[](https://www.varsnap.com/project/67ecf784-ada3-48ba-99cf-c19715f886a3/)
No page breaks in Google Docs
## Development
### Setup Development Environment
Using [python venv](https://docs.python.org/3/library/venv.html),
[direnv](https://github.com/direnv/direnv), and [pnpm](http://pnpm.io/).
```bash
python3.14 -m venv env
pip install -e .[test]
ln -s .env.development .env
pnpm install
```
### Spinning up the server
```bash
pnpm run build:dev
python app/serve.py
```
### Running tests
```bash
ruff check .
mypy .
shellcheck --exclude=SC1091 bin/*.sh
coverage run -m unittest discover
pnpm test
```
## CI/CD
This repo uses:
```bash
# Setup
pyenv local 3.14
pip install -e .[test]
ln -s .env.development .env
# Test
ruff check .
mypy .
coverage run -m unittest discover
coverage report
pnpm test
# Deployment
ssh ubuntu@direct.albertyw.com nopages/bin/deploy.sh
```
### Building and starting the docker container
```bash
docker build -t nopages:test .
docker run -t -i -p 127.0.0.1:5000:5000 nopages:test
```
## Production
### Setup Production Environment
Run this once on a new server to set up the web app:
```bash
bin/setup.sh
```
### Deployment
Run this every time for a new commit to the repository:
```bash
bin/deploy.sh
```