Skip to content

nicewaytodoit/aleksandar.ristevski.me

Repository files navigation

aleksandar.ristevski.me

Live version: https://aleksandar.ristevski.me/

Deployment

Run first:

$ npm run deploy:ec2

And then in EC2 serve folder:

sudo git pull origin gh-pages
sudo service nginx restart

Gatsby

Website created by mixing:
- Gatsby blog starter
- Gatsby v2 starter Lumen
- Gatsby starter 2column portfolio)
- Gatsby starter CV
- Gatsby starter strata
- Gatsby starter personal blog
- Overreacted.io

To run locally:
yarn, then yarn dev,
or
npm install, then npm start,

then open https://localhost:8000 to get the app,
or http://localhost:8080/__graphql to get GraphQL shape

Contributors

Requirements

ubuntu@:$ npm -v - 6.14.9 ubuntu@:$ node -v - v14.15.1

npm install --global yarn

"react-disqus-comments": "^1.4.0",

Fixes Legacy

  • removed node-sass from package.json and package-lock.json trying this fix as require Python2 and mscs c++ compiler to work 2013 gatsbyjs/gatsby#27754 npm i -D sass

    update your gatsby-config.js :
    
    before:
    
    {
        resolve: `gatsby-plugin-sass`
    }
    after:
    
    {
        resolve: `gatsby-plugin-sass`,
        options: {
            implementation: require('sass')
        },
    }
  • Then requested to update browser list for the sake of ignore : npx browserslist@latest --update-db

  • ![IDEA] about future taking notes as "Notes of pain" or "Pain Diary" about updating npm modules and IT issues

  • "react-scripts --openssl-legacy-provider start" $ export NODE_OPTIONS=--openssl-legacy-provider <---- that works run in bash.

Buckup and move:

```bash 
$ sudo tar --exclude='./node_modules' -zcvf 2024-08-19-www2--ristevski-aleksandar-me.tgz .
$ sudo mv 2024-08-19-www2--ristevski-aleksandar-me.tgz ~/Uploads/backups/
$ cd ~/Uploads/backups/
```

About

Personal Web Site / Blog

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published