Enable build support by adding .onedev-buildspec.yml
.husky Loading last commit info...
server-settings
src
.editorconfig
.eslintrc.cjs
.gitignore
.lintstagedrc.mjs
LICENSE.md
README.md
gatsby-browser.ts
gatsby-config.ts
gatsby-node.ts
npm-shrinkwrap.json
package.json
postcss.config.cjs
tailwind.config.cjs
tsconfig.json
README.md

gatsby-starter-snape

Minimal starter template for gatsby blog.

Start

To start development run these commands:

npm ci
npm start

Requirements

For development:

  • node, npm: versions could be found in package.json, section engines

For deploy on server:

  • linux with root access
  • nginx -- available from target network (for example, internet)
  • ssh, rsync -- available from publishing node
  • git-shell

You can use any static site hosting instead. For example Github Pages

Deploy

We propose deploy to self-hosted nginx server.

Prepare

There is script for preparation server to deploy: prepare.sh.

cd server-settings
./prepare.sh

Prepare script will print out commands for server preparation. This commands should be executed by server admin.

HTTPS

After server preparation we recommend encrypt your server with let's encrypt.

Update site

Automatic site update will be available by command npm run deploy.

Contributing

Write about bugs to [email protected]. For contributing send patches to [email protected].

License

gatsby-starter-snape
Copyright (C) 2023 Vladimir Liutov [email protected]

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as
published by the Free Software Foundation, either version 3 of the
License, or (at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License
along with this program.  If not, see <https://www.gnu.org/licenses/>.

See AGPLv3 License.

Please wait...
Page is in error, reload to recover