Skip to content

Commit

Permalink
Update Docs to reflect cezerin2
Browse files Browse the repository at this point in the history
  • Loading branch information
LuBuss committed Dec 24, 2018
1 parent f76f8af commit c6a3fdd
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 35 deletions.
30 changes: 7 additions & 23 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Cezerin - Ecommerce Progressive Web Apps

[![CircleCI](https://circleci.com/gh/cezerin/cezerin/tree/master.svg?style=svg)](https://circleci.com/gh/cezerin/cezerin/tree/master)
[![CircleCI](https://circleci.com/gh/cezerin2/cezerin2/tree/master.svg?style=svg)](https://circleci.com/gh/cezerin2/cezerin2/tree/master)

Cezerin is React and Node.js based eCommerce platform. Allows creating a Progressive Web Apps.
Cezerin2 is React and Node.js based eCommerce platform. Allows creating a Progressive Web Apps. This is based from cezerin after project went dead. (https://github.com/cezerin/cezerin)

Built with:
* Node.js v8.9
Expand All @@ -29,10 +29,10 @@ Single-Page Application with React server-side rendering. [Demo store](https://s

## Installation

- [with GitHub](https://github.com/cezerin/cezerin/blob/master/docs/getting-started.md)
- [with Docker](https://github.com/cezerin/cezerin/blob/master/docs/getting-started-docker.md)
- [How to deploy a Cezerin on Ubuntu 16.04](https://github.com/cezerin/cezerin/blob/master/docs/how-to-deploy-a-cezerin-on-ubuntu-16-04.md)
- [How to deploy a Cezerin on Ubuntu 18.04.1 (from GitHub)](https://github.com/cezerin/cezerin/blob/master/docs/how-to-deploy-a-cezerin-on-ubuntu-18-04-1-github.md)
- [with GitHub](https://github.com/cezerin2/cezerin2/blob/master/docs/getting-started.md)
- [with Docker](https://github.com/cezerin2/cezerin2/blob/master/docs/getting-started-docker.md)
- [How to deploy a Cezerin2 on Ubuntu 16.04](https://github.com/cezerin2/cezerin2/blob/master/docs/how-to-deploy-a-cezerin2-on-ubuntu-16-04.md)
- [How to deploy a Cezerin2 on Ubuntu 18.04.1 (from GitHub)](https://github.com/cezerin2/cezerin2/blob/master/docs/how-to-deploy-a-cezerin2-on-ubuntu-18-04-1-github.md)

### Requirements
* Node.js >= 8
Expand All @@ -41,7 +41,7 @@ Single-Page Application with React server-side rendering. [Demo store](https://s

## Documentation

[Documentation](https://github.com/cezerin/cezerin/tree/master/docs)
[Documentation](https://github.com/cezerin2/cezerin2/tree/master/docs)


## Application Structure
Expand Down Expand Up @@ -73,22 +73,6 @@ Single-Page Application with React server-side rendering. [Demo store](https://s
```


## Sponsoring

Cezerin is an MIT-licensed open source project. It's an independent project with ongoing development made possible thanks to the support of these awesome backers. [Become a backer or sponsor on OpenCollective](https://opencollective.com/cezerin).

### Sponsors

[Become a sponsor](https://opencollective.com/cezerin#sponsor) and get your logo on our README on Github and [cezerin.com](https://cezerin.com) with a link to your site.

<a href="https://opencollective.com/cezerin/tiers/sponsor/1/website" rel="noopener" target="_blank" style="margin-right: 8px;">
<img src="https://opencollective.com/cezerin/tiers/sponsor/1/avatar.svg" alt="0" /></a>
<a href="https://opencollective.com/cezerin/tiers/sponsor/2/website" rel="noopener" target="_blank" style="margin-right: 8px;">
<img src="https://opencollective.com/cezerin/tiers/sponsor/2/avatar.svg" alt="0" /></a>
<a href="https://opencollective.com/cezerin/tiers/sponsor/0/website" rel="noopener" target="_blank" style="margin-right: 8px;">
<img src="https://opencollective.com/cezerin/tiers/sponsor/0/avatar.svg" alt="0" /></a>


## Contributing

If you can, please contribute by reporting issues, discussing ideas, or submitting pull requests with patches and new features. We do our best to respond to all issues and pull requests within a day or two, and make patch releases to npm regularly.
Expand Down
4 changes: 2 additions & 2 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
* Getting Started
- [with GitHub](./getting-started.md)
- [with Docker](./getting-started-docker.md)
* [How to deploy a Cezerin on Ubuntu 16.04 (from Docker)](./how-to-deploy-a-cezerin-on-ubuntu-16-04.md)
* [How to deploy a Cezerin on Ubuntu 18.04.1 (from GitHub)](./how-to-deploy-a-cezerin-on-ubuntu-18-04-1-github.md)
* [How to deploy a Cezerin2 on Ubuntu 16.04 (from Docker)](./how-to-deploy-a-cezerin-on-ubuntu-16-04.md)
* [How to deploy a Cezerin2 on Ubuntu 18.04.1 (from GitHub)](./how-to-deploy-a-cezerin-on-ubuntu-18-04-1-github.md)
* [Application Structure](./structure.md)
* [Initialize MongoDB](./initialize-mongodb.md)
* [API Reference](./api)
Expand Down
10 changes: 5 additions & 5 deletions docs/getting-started-docker.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@

## Docker

We'll use `cezerin/cezerin` image. [About image](https://github.com/cezerin/docker-cezerin).
We'll use `cezerin/cezerin` image. [About image](https://github.com/cezerin2/docker-cezerin2).

1. Run MongoDB
```shell
docker run --name store-db -v /var/www/store-db:/data/db -d mongo:latest
```

2. Run Cezerin
2. Run Cezerin2
```shell
docker run -d \
--name store \
Expand All @@ -24,7 +24,7 @@ docker run -d \
-e DB_USER=user \
-e DB_PASS=password \
-v /var/www/store:/var/www/cezerin \
cezerin/cezerin:latest
cezerin2/cezerin2:latest
```

Open http://localhost to see your store.
Expand All @@ -40,7 +40,7 @@ version: '3'

services:
app:
image: cezerin/cezerin
image: cezerin2/cezerin2
environment:
- DB_HOST=db
- DB_PORT=27017
Expand All @@ -64,5 +64,5 @@ services:
restart: always
```
`/var/www/store` - folder with Cezerin
`/var/www/store` - folder with Cezerin2
`/var/www/store-db` - folder with MongoDB data
2 changes: 1 addition & 1 deletion docs/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
- MongoDB >= 3.2

```shell
git clone https://github.com/cezerin/cezerin.git cezerin
git clone https://github.com/cezerin2/cezerin2.git cezerin
cd cezerin
npm install
npm run build
Expand Down
6 changes: 3 additions & 3 deletions docs/how-to-deploy-a-cezerin-on-ubuntu-16-04.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* [Turn off Developer Mode](#7-turn-off-developer-mode)

## 1. Create droplet
I'll use [DigitalOcean](https://www.digitalocean.com/) to deploy Cezerin.
I'll use [DigitalOcean](https://www.digitalocean.com/) to deploy Cezerin2.

1. Click **Create droplet**
- Choose an image: `Ubuntu 16.04.4 x64`
Expand Down Expand Up @@ -61,15 +61,15 @@ docker run -d \
-e DB_PORT=27017 \
-e DB_NAME=shop \
-v /var/www/store/content:/var/www/cezerin/public/content \
cezerin/cezerin:latest
cezerin2/cezerin2:latest
```
Check logs
```shell
docker logs store
```

## 5. Preparing Database
Run `npm run setup` on Cezerin container to add default data and create indexes.
Run `npm run setup` on Cezerin2 container to add default data and create indexes.

```shell
sudo docker exec store bash -c "npm run setup"
Expand Down
2 changes: 1 addition & 1 deletion docs/how-to-deploy-a-cezerin-on-ubuntu-18-04-1-github.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ docker run --name store-db -d -p 27017:27017 -v /var/www/store-db:/data/db mongo
1. Clone a Git repository
```shell
cd /var/www
git clone https://github.com/cezerin/cezerin
git clone https://github.com/cezerin2/cezerin2
```
2. Change setting
```
Expand Down

0 comments on commit c6a3fdd

Please sign in to comment.