Install the project's dependencies
yarn install
Run the project locally
yarn dev
- http://localhost:3000 : browse the website
- http://localhost:3000/admin : connect to Tina Cloud and go in edit mode
- http://localhost:3000/exit-admin : log out of Tina Cloud
- http://localhost:4001/altair/ : GraphQL playground to test queries and browse the API documentation
If you will be making code changes to Microgen that you don't plan to merge into the original project you may want to clone the repo instead so your PRs never point back to it. If you have already forked the repo you can request that github detach the fork.
-
Clone the MicroGen repo from GitHub.
-
Navigate to the cloned folder and remove the hidden git folder using the command
ls -la
to reveal the hidden files andrm -rf .git
to remove the folder. -
Initialize a fresh git repository with the command
git init
. -
Add your changes with
git add .
and thengit commit -m 'initial commit’
.
-
Go to support.github.com/request (or go to GitHub.com and click Contact GitHub in the footer).
-
Click Attach, detach or reroute forks.
-
In the Subject field, typ 'Unfork'. A blue banner should appear with 'Our virtual assistant can help'. Click the banner.
-
A chat should appear on screen with the Virtual Assistant. Paste the URL of the repository. _Note: make sure to paste the URL to the forked repository, so not the original repository. It should look like github.com/username/forked-repo-name.
-
Specify what should be done with Child forks: If username/forked-repo-name has child forks, what should we do with these? Commonly you'll want to bring the child forks along with you when detaching your fork from the upstream repository.
- Bring the child forks with the repository
- Leave the child forks behind
-
Select one of the options and send the form.
-
Within a few minutes to half an hour you should get a confirmation in your e-mail.
- Visit the Tina Documentation to learn about Tina.
- Join the Tina Discord to share feedback.
- Search or open an issue if something is not working.