--------------------------------------------------------------------------------
# Atlas Frontend Application
--------------------------------------------------------------------------------
Global Appearance Partners Frontend

--------------------------------------------------------------------------------
## Author
--------------------------------------------------------------------------------
Swell Development LLC - http://www.swelldevelopment.com/

--------------------------------------------------------------------------------
## Website
--------------------------------------------------------------------------------
http://www.global-appearance.com/

--------------------------------------------------------------------------------
## Support
--------------------------------------------------------------------------------
Contact info@swelldevelopment.com for comments questions, or concerns.

--------------------------------------------------------------------------------
## Change Log
--------------------------------------------------------------------------------
See ChangeLog.md or go to https://app.atlas-app.com/administration/change-log

--------------------------------------------------------------------------------
## App Setup
--------------------------------------------------------------------------------
1. Clone the repo and change directory to it.
2. Install dependencies:
```
yarn
```
3. Copy config.dist.js to config.js and modify.
4. Clone SwellCoreVue and SwellCore Quasar repos:
```
git clone ssh://git@gitlab.swelldevelopment.com:8552/SwellDevelopment/SwellCoreVue.git
git clone ssh://git@gitlab.swelldevelopment.com:8552/SwellDevelopment/SwellCoreQuasar.git
```

--------------------------------------------------------------------------------
## Development Bootup
--------------------------------------------------------------------------------
```
quasar dev -m pwa
```

--------------------------------------------------------------------------------
## Production PWA Build
--------------------------------------------------------------------------------

Change directory to frontend and pull latest code.

```
cd /var/www/html/atlas-app.com/frontend
git pull origin master
```

Now, modify src/config.js to have the correct settings, version number, and API URL.

```
nano src/config.js

```

Update SwellCoreVue and SwellCoreQuasar.

```
cd SwellCoreVue
git pull origin master

cd ../SwellCoreQuasar
git pull origin master

cd ..
```

Finally, run the build script.

```
sh scripts/build-pwa.sh
```

