Go to file
Nabarun Gogoi ef89d69577
Implement creating project by importing repository (#49)
* Implement create project with import repository

* Add button for creating project in deploy step
2024-02-01 18:10:15 +05:30
.github/workflows Add github CI for running lint (#5) 2023-12-11 12:04:33 +05:30
.husky Add husky to run pre-commit lint (#3) 2023-12-08 09:59:45 +05:30
packages Implement creating project by importing repository (#49) 2024-02-01 18:10:15 +05:30
.gitignore Implement monorepo with lerna (#1) 2023-12-06 16:07:12 +05:30
lerna.json Add husky to run pre-commit lint (#3) 2023-12-08 09:59:45 +05:30
package.json Update instructions and general package cleanup (#29) 2024-02-01 11:37:57 +05:30
README.md Implement functionality to add and delete Deploy webhooks (#47) 2024-02-01 14:04:07 +05:30
yarn.lock Implement Github authentication to show repositories list (#45) 2024-02-01 11:37:57 +05:30

snowballtools

  • Clone the snowballtools repo

    git clone git@github.com:snowball-tools/snowballtools-base.git
    
  • In root of the repo, install depedencies

    yarn
    
  • Build packages

    yarn build --ignore frontend
    
  • Change directory to packages/backend

    cd packages/backend
    
  • Load fixtures in database

    yarn db:load:fixtures
    
  • Set githubOauth.clientId and githubOauth.clientSecret in backend config file

  • Start the server

    yarn start
    
  • Change directory to packages/frontend in a new terminal

    cd packages/frontend
    
  • Copy the graphQL endpoint from terminal and add the endpoint in the .env file present in packages/frontend

    REACT_APP_GQL_SERVER_URL = 'http://localhost:8000/graphql'
    
  • Copy the GitHub OAuth app client ID from previous steps and set it in frontend .env file

    REACT_APP_GITHUB_CLIENT_ID = <CLIENT_ID>
    
  • Start the React application

    yarn start
    
  • The React application will be running in http://localhost:3000/