kalyanisamriddhi / kalyanisamriddhi.github.io

https://kalyanisamriddhi.github.io/
http://kalyanisamriddhi.com
MIT License
0 stars 2 forks source link

Kalyani Samriddhi NGO

Build and Deploy Events

🚀 Super fast setup

Run the code locally for testing and development purposes by following steps mentioned below.

You'll need git and node.js (which comes with npm) installed on your computer

node@v10.16.0 or higher
npm@6.9.0 or higher
git@2.17.1 or higher

1. From your command line, clone and run the repo:

# Clone this repository
$ git clone https://github.com/kalyanisamriddhi/website.git

# Go into the repository
$ cd website

# Install dependencies
$ npm install

2. Generate a Github Personal Access Token

Generate a Github personal access token using these instructions

Note: Make sure you don't select any scope just generate a simple token without any scope

After that copy your generated token and then encode your token into base 64 using this website

Note: Save your base64 converted token for next step

3. Change /src/config.js

Go to your cloned repository and make the following changes in /src/config.js

export const config = {
  githubConvertedToken: "Your token here",
  githubUserName: "Your username here",
  githubRepo: "Your issues repo name here",
  title : "Title of your site",
  description: "Your meta description"
};

4. Write content

After doing following changes now you just need to write an issue on repository that you have mentioned in your config.js

5. Start Your React App.

That's it now you just need to start your react application, from your command line run

# Run
$ npm start

License

MIT