https://github.com/gogjango/gogjango.github.io
Documentation for Gjango
https://github.com/gogjango/gogjango.github.io
documentation gjango golang
Last synced: 3 months ago
JSON representation
Documentation for Gjango
- Host: GitHub
- URL: https://github.com/gogjango/gogjango.github.io
- Owner: gogjango
- Created: 2020-04-23T02:39:40.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2023-04-10T16:57:33.000Z (about 3 years ago)
- Last Synced: 2025-01-05T03:48:58.494Z (over 1 year ago)
- Topics: documentation, gjango, golang
- Language: JavaScript
- Homepage: https://gogjango.github.io
- Size: 2.56 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Gjango documentation
Static files generated by `next export` (via `npm run deploy` command)
## Build locally and develop
This is essentially nextjs's standard development workflow.
```bash
npm run dev
open localhost:3000
```
## Build local static files and serve
This executes a `next build` and `next export`, and copies the generated static files to the root directory and to the `gogjango.github.io` directory.
We then use `serve` to serve our static files locally, so we can manually verify that our static files are correctly generated and can expect it to work fine when we actually deploy it
```bash
npm run deploy
npm start # we have modified `start` to use `serve`, a static file server
open localhost:5000
```
## Deploying to github pages
```bash
npm run deploy
# git commit and push to master branch
git add .
git commit -m "Update documentation"
git push
open gogjango.github.io
```