Skip to content

styleschool/contenter

 
 

Repository files navigation

A "template" for creating nextjs applications that use deep. It is recommended to merge with this repository to have its improvements in your nextjs application!

How to make this repository pullable in your repository

git remote add sdk https://github.com/deep-foundation/sdk.git
git fetch sdk
git merge sdk/main --allow-unrelated-histories --strategy ours 

Note that we use ours strategy during merge to avoid any changed in your existing project

How to pull some new commits but not old

If you want to get some-commits to your repository - merge with ours strategy with old sdk commit that is created before required changes and then merge with main

git remote add sdk https://github.com/deep-foundation/sdk.git
git fetch sdk
git merge sdk/some_old_commit_hash --allow-unrelated-histories --strategy ours
git merge sdk/main

Note: I am sure that it is not the only way to do this. Possibly you can use cherry-pick to do this

Now you can pull changes from this repository by using

git pull sdk main

Prerequisitions

  • Install and use nodejs version from .nvmrc
nvm install && nvm use
  • Install dependencies
npm install
  • Run by using How to run
  • Pass graphql url and token To easily get token you can use Copy token button in the menu of deepcase. In the same menu you can find gql button where you can get graphql path

How to run?

Web

npm run build &&
npm run start

Android

npm run android-build &&
npm run android-run

IOS

npm run ios-build &&
npm run ios-run

Development

You can use environment variables to set graphql path and token on server instead of setting it on client. See template in .env.development. Create a file .env.local with your values

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 48.1%
  • JavaScript 38.6%
  • Java 6.3%
  • Swift 4.8%
  • Ruby 2.2%