1.0.0 • Published 2 years ago
swimcloud-applications v1.0.0
Swimcloud Frontend Applications
Introduction
This is the repository for the Swimcloud frontend applications:
- Admin/Franchisor application (
admin/
) - Franchisee application (
franchisee/
) - Instructor application (
instructor/
) - Shared components for all applications (
app-kit/
)
All applications once compiled are built to the public/
directory.
Requirements
- Yarn https://yarnpkg.com/en/
- Gulp 4.x https://gulpjs.com/
Installation
To install all required modules:
yarn install
Building / Running
To build the applications:
gulp
(development) orgulp build
(production)
Then you will need to point the webserver to the following directories:
admin.swimcloud.dev
topublic/admin/
franchisee.swimcloud.dev
topublic/franchisee/
instructor.swimcloud.dev
topublic/instructor/
Note: All index requests and 404 errors should be directed to /index.html for each so the internal router can pick up the correct endpoint.
Example nginx snippet:
index index.html;
location / {
try_files $uri $uri/ /index.html
}
1.0.0
2 years ago