# Block

Vanilla Marketing

### Build 

The project uses gulp-env to provide .env and .env.production modes with --mode= switch 

```
gulp build --mode=production
```

### Deployment

Deploy the /dist directory to /home/smartsafehomes/htdocs/smartsafehomes.com directory

```
rsync -avz ./dist/ smartsafehomes:/home/smartsafehomes/htdocs/smartsafehomes.com
```

<!-- gulp build --mode=production
cd ./dist
rsync -avz . smartsafehomes:/home/smartsafehomes/htdocs/smartsafehomes.com -->
### Production Deployment

ssh smartsafehomes 
cd /home/smartsafehomes/htdocs/smartsafehomes.com/source
pm2 deploy ~/ecosystem.config.js production

### Beta Deployment

ssh smartsafehomesbeta 
cd htdocs/beta.smartsafehomes.com/source
pm2 deploy ~/ecosystem.config.js production

### Documentation

Development documentation is available at `src/docs/index.html` (or `dist/docs/index.html` once you've compiled), or visit https://block.codescandy.com/docs/index.html.

### Getting Started

The steps to compile and get started with development are covered in detail in documentation mentioned above, but the summary is:

-  npm install -g gulp-cli
-  npm install
-  gulp

## To download Figma files which include all design mockups follow the link below:

https://www.figma.com/design/7QkYowXPbPyHISzHwZfWAU/Block---Landing-Page-1.3.0-Customer?node-id=2474-98&t=H7tBdxyBfAZO62sl-1

### Support

Codescandy is happy to provide support for issues. Contact us an email at hello@codescandy.com


