Clone Mastodon's repository.
# Clone mastodon to ~/live directory
git clone https://github.com/tootsuite/mastodon.git live
# Change directory to ~/live
cd ~/live
| import fetch from 'isomorphic-unfetch' | |
| import { ApolloClient } from 'apollo-client' | |
| import { ApolloLink } from 'apollo-link' | |
| import { createHttpLink } from 'apollo-link-http' | |
| import { InMemoryCache, NormalizedCacheObject } from 'apollo-cache-inmemory' | |
| import { AccountsGraphQLClient } from '@accounts/graphql-client' | |
| import { AccountsClientPassword } from '@accounts/client-password' | |
| import { AccountsClient } from '@accounts/client' | |
| import { accountsLink } from '@accounts/apollo-link' | |
| import { tokenStorage } from './token-storage' |
| import ScatterJS from 'scatterjs-core' | |
| import ScatterEOS from 'scatterjs-plugin-eosjs' | |
| import EOS from 'eosjs' | |
| const isDev = process.env.NODE_ENV === 'development' | |
| const APP_NAME = 'Test App' | |
| const NETWORK = { | |
| protocol: "http", | |
| blockchain: "eos", | |
| host: "127.0.0.1", |
| import { ApolloClient } from "apollo-client"; | |
| import { ApolloLink } from "apollo-link"; | |
| import { createHttpLink } from "apollo-link-http"; | |
| import { InMemoryCache } from "apollo-cache-inmemory"; | |
| import { AccountsClient } from "@accounts/client"; | |
| import { AccountsClientPassword } from "@accounts/client-password"; | |
| import GraphQLClient from "@accounts/graphql-client"; | |
| import { accountsLink } from "@accounts/apollo-link"; | |
| let uri = /* gql endpoint */; |
I hereby claim:
To claim this, I am signing this object: