1.0.0 • Published 3 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.devtopublic/admin/franchisee.swimcloud.devtopublic/franchisee/instructor.swimcloud.devtopublic/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
3 years ago