Oxen.io Website
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
William Grant 4ac7335460
Merge pull request #35 from yougotwill/seo_improvements
24 hours ago
@types Templated structure 8 months ago
assets added rss feed 2 weeks ago
components updated Blogposts 1 day ago
constants updated Blogposts 1 day ago
contexts Rich body lists 7 months ago
hooks Blog home solid 7 months ago
pages Added sitemap and robots.txt 1 day ago
public Added sitemap and robots.txt 1 day ago
services updated Blogposts 1 day ago
state Add FAQ link to sidebar 5 months ago
types updated Blogposts 1 day ago
utils updated rss tags to use metadata constant 24 hours ago
.babelrc No fallback path for blog posts 7 months ago
.eslintrc.js Templated structure 8 months ago
.gitignore added rss feed 2 weeks ago
.nowignore Templated structure 8 months ago
.prettierignore Templated structure 8 months ago
.prettierrc.js Templated structure 8 months ago
README.md updated README 2 months ago
_next onTouch mobile bubble sidemenu 7 months ago
jest.config.js BUILDING WORKS WOOHOOOO 7 months ago
next-env.d.ts Templated structure 8 months ago
next.config.js Added sitemap and robots.txt 1 day ago
package.json updated contentful deps, improved image rendering for rich content 5 days ago
postcss.config.js changed sass to css and removed node-sass dep, added css-nano dep 2 weeks ago
tailwind.config.js changed sass to css and removed node-sass dep, added css-nano dep 2 weeks ago
tsconfig.json Templated structure 8 months ago
update.sh Removed discord 7 months ago
yarn.lock updated contentful deps, improved image rendering for rich content 5 days ago

README.md

This is a Next.js project bootstrapped with create-next-app.

Getting Started

First, run the development server:

yarn dev

Open http://localhost:3000 with your browser to see the result.

Setting up your environment

  • Install NVM following the guide at nvm.sh

  • Navigate to project directory

  • Set your NVM version

    nvm install 14.15.0
    nvm use 14.15.0
    
  • Install yarn

    npm i -g yarn
    

Steps to Build to Production

  • Make your local changes

  • Build locally; ensure everything is working

    yarn build
    yarn start
    
  • Commit and push your changes

        git add .
        git commit -m 'My changes'
        git push -u origin
    
  • SSH into the box

    ssh root@116.203.145.108
    
  • Navigate to the directory of the project

    cd /home/ubuntu/oxen.io/
    
  • Pull changes

    git pull origin
    
  • Build on the server

    yarn build
    
  • Restart NGinx and PM2

    systemctl restart nginx && pm2 restart /home/ubuntu/ecosystem.config.js
    

Notes

You can check the status of the server by running

pm2 status