-
git clone git@github.com:devpointlabs/qa-engine.git <project-name>
-
cd project-name
-
bundle install
-
in database.yml change name of database qa-engine to project-name
-
rails db:create db:migrate db:seed
-
rails s -p 3001
-
cd client && yarn
-
run
yarn add axios
-
yarn start
- you can either remove the remote and add you own, or you can remove the git repo, remove the remote keeps the commit history from starter project, and rm -rf .git is going to complete remove it/
-
- remove origin
git remote rm origin
- git add remote origin to new repo
- remove origin
-
or
rm -rf .git
git init
git remote add origin new githib page
git add .
git commit -m
git push origin master
push
const getAnswers = async () => { let response = await Axios.get('/api/questions'); setAnswers(res.data); } catch(err) { alert("You done effed up A-Aron."); } }