GithubHelp home page GithubHelp logo

skelpycoin / tec-website Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ark-labs/tec-website

0.0 1.0 0.0 6.74 MB

TEC landing page built with Netlify CMS and Gatsby

License: MIT License

JavaScript 97.48% CSS 2.52%

tec-website's Introduction

Ark Labs Landing Page

Ark Labs developed a Token Exchange Campaign (TEC) website for the Ark Ecosystem, hosting Ark based projects and their Initial Coin Offering (ICO) as a TEC. For more information contact Ark Labs at https://arklabs.us

Code

This repo contains an application that is built with Gatsby, and Netlify CMS: Demo Link. It follows the JAMstack architecture by using Git as a single source of truth, and Netlify for continuous deployment, and CDN distribution.

Setup

1. Create an app

  • Fork this repository on GitHub
  • Create a new Netlify account
  • Once logged in, add a new application using this link where you will authorize GitHub access and select repository you've just created

2. Enable Identity and Git Gateway

Netlify's Identity and Git Gateway services allow you to manage CMS users for your site without requiring them to have an account with your Git host or commit access on your repo. All from your site dashboard on Netlify:

  • Go to top menu > Settings > Identity, and then click the Enable Identity service button.
  • Go to top menu > Settings > Identity > Registration, select from the default of 'Open' to 'Invite only'. In most cases, you'll want only invited users to access your CMS as a secure option.
  • If you'd like to allow one-click login with services like Google and GitHub, check the boxes next to the services you'd like to use, under External OAuth providers.
  • Scroll down to Services > Git Gateway, and click the Enable Git Gateway button. This will authenticate with your Git host and generate an API access token. In this case, we're leaving the Roles field blank, which means any logged in user may access the CMS. For information on changing this, check the Netlify Identity documentation.

3. Deploy

Last step is to rebuild your application and redeploy to make sure that the git gateway settings from the previous step are working correctly. In order to do that, simply go to the top menu "Deploys" section in the Netlify dashboard, and click the "Trigger deploy" button. Wait until the site deployment finishes ~2-3 min.

Go back to the top of the page and click on the "Preview deploy" link.

Your site shold be live on Netlify.

4. Users / Admin Access

Top menu > Identity, click on the Invite users button. Add emails of admin user(s) to invite them to your new Netlify Site. Click Send.

Find the email titled: "You've been invited to join -xxxxx.netlify.com" and accept the invite by clicking on the "Accept the invite" link.

This should take you to the new site and ask you to set a password. Once set, you will be logged in and see the admin panel.

Next, you will have to click on the "Homepage" link that doesn't look like a link to get to the "Content manager" where you can edit your new site to your liking.

Later, you can always access the CMS admin panel by browsing to the https://<site>/admin path for your deployed application.

5. Site settings

Next, it's a good idea to change the site name to something familiar. Go to the top menu > Settings and under Site details click the "Change site name" button.

Optional: Develop Locally

$ git clone https://github.com/vRobM/Ark-Labs-TEC-website.git
$ cd TEC-website
$ yarn
$ yarn start

To test the CMS locally, you'll need run a production build of the site:

$ yarn build
$ yarn serve

tec-website's People

Contributors

austingreen avatar rabsztok avatar marcobiedermann avatar erquhart avatar vrobm avatar benaiah avatar rdela avatar kalinchernev avatar sakit0 avatar kyleamathews avatar futuregerald avatar hennessyevan avatar ekoeryanto avatar flppv avatar luczaki114 avatar pborreli avatar skelpycoin avatar terrierscript avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.