Skip to content

Commit

Permalink
chore(init): remove default license and update readme [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user committed May 19, 2020
1 parent bb3cb73 commit c03b7fd
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 317 deletions.
33 changes: 0 additions & 33 deletions .README.md

This file was deleted.

44 changes: 0 additions & 44 deletions .github/workflows/init-repository.yml

This file was deleted.

201 changes: 0 additions & 201 deletions LICENSE

This file was deleted.

62 changes: 23 additions & 39 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,49 +1,33 @@
# Storefront Starter
# Storefront

[![Netlify Status](https://api.netlify.com/api/v1/badges/ac85a3a2-c06d-4e69-98ce-40c2190db198/deploy-status)](https://app.netlify.com/sites/ecomplus-storefront/deploys) [![CodeFactor](https://www.codefactor.io/repository/github/ecomplus/storefront-starter/badge)](https://www.codefactor.io/repository/github/ecomplus/storefront-starter) [![License Apache-2.0](https://img.shields.io/badge/License-Apache_2.0-orange.svg)](https://opensource.org/licenses/Apache-2.0)
:shopping: :rocket:
[PWA](https://developers.google.com/web/progressive-web-apps) and
[JAMstack](https://jamstack.org/)
based e-commerce template for
[E-Com Plus](https://www.e-com.plus)
stores

:shopping: :rocket: [PWA](https://developers.google.com/web/progressive-web-apps) and [JAMstack](https://jamstack.org/) based e-commerce template for [E-Com Plus](https://www.e-com.plus) stores
> Gerenated from [@ecomplus/storefront-starter](https://github.com/ecomplus/storefront-starter)
## Getting started
:scroll: **[Get started](https://github.com/ecomplus/storefront-starter#getting-started)**
/ [Documentation](https://developers.e-com.plus/storefront/)

To get started easily, you should have a **[E-Com Plus](https://www.e-com.plus)** store ([free for dev](#free-for-dev)), then deploy your new e-commerce to [Netlify](https://www.netlify.com/).
## Project setup

### Deploy to Netlify
```
npm i
```

When creating your new site on Netlify, we recommend choosing **`dist` as _branch to deploy_ with no _build settings_**.
### Compiles and hot-reloads for development

> You can also deploy from `master` to take advantage of deploy previews, but using `dist` branch you'll consume fewer build minutes on your Netlify plan.
```
npm run serve
```

#### The easier way
It starts serving site on http://localhost:9100/.

[![Deploy to Netlify](https://www.netlify.com/img/deploy/button.svg)](https://app.netlify.com/start/deploy?stack=cms&repository=https://github.com/ecomplus/storefront-starter)
### Compiles and minifies for production

#### The better way

1. [Use this template](https://github.com/ecomplus/storefront-starter/generate) to generate a new repository for your store;
2. Set your own E-Com Plus Store ID at `content/settings.json` and commit with message `Setup store`. **Wait up to 3 minutes** for the first build process;
3. [Log in to Netlify](https://app.netlify.com/) and [create a _new site from Git_](https://docs.netlify.com/site-deploys/create-deploys/#deploy-with-git) choosing your generated repository;
4. Select `dist` as _branch to deploy_ field and keep _basic build settings_ fields empty;
5. [Enable Netlify Identify](https://docs.netlify.com/visitor-access/identity/#enable-identity-in-the-ui), add _invite users_ by email to administrate your storefront, you may start adding your own email address;
6. [Enable Netlify Git Gateway](https://docs.netlify.com/visitor-access/git-gateway/#setup-and-settings);
7. To ensure Git Gateway settings, go to your Netlify site's deploys and click _trigger deply_ > _clear cache and deploy site_;

### Access CMS

Storefront comes with [Netlify CMS](https://www.netlifycms.org/) for administration.

After your site is deployed, you should receive an invitation email from Netlify to grant CMS access. You must click the email link, then you should create a new password on a pop-up opened on your new e-commerce homepage.

At the end of this process you'll be able to login to CMS at `/admin/` URL using your e-mail and password.

## Documentation

:page_with_curl: **[Storefront reference](https://developers.e-com.plus/storefront/)** · :pencil: [Customization guide](https://developers.e-com.plus/storefront/docs/customization.html) · [Template changelog](https://github.com/ecomplus/storefront/tree/master/@ecomplus/storefront-template/CHANGELOG.md) · [Forum](https://community.e-com.plus/c/storefront/7) :brazil:

![E-Com Plus Storefront banner](https://repository-images.githubusercontent.com/183649678/1c624a80-3180-11ea-8761-1f45e0f675a5)

### Free for dev

In addition to the open source [Storefront](https://github.com/ecomplus/storefront), we provide our **SaaS platform and apps for free** for developers registered in our partnership program or to work with open source projects :smile:

To request, contact [[email protected]](mailto:[email protected]).
```
npm run build
```

0 comments on commit c03b7fd

Please sign in to comment.