generated from ecomplus/storefront-starter
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(init): remove default license and update readme [skip ci]
- Loading branch information
1 parent
bb3cb73
commit c03b7fd
Showing
4 changed files
with
23 additions
and
317 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,49 +1,33 @@ | ||
# Storefront Starter | ||
# Storefront | ||
|
||
[](https://app.netlify.com/sites/ecomplus-storefront/deploys) [](https://www.codefactor.io/repository/github/ecomplus/storefront-starter) [](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/. | ||
|
||
[](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: | ||
|
||
 | ||
|
||
### 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 | ||
``` |