-
Notifications
You must be signed in to change notification settings - Fork 6
Installation
Autsera is a standalone frontend only application written in React. After building it can be served from any web server.
Requirements: npm and node
git clone [email protected]:fac-17/Autsera.git
cd Autsera
npm install --production
npm run build
After successful compilation build
folder will ccntain all is needed to use the app. It can be served from any static web server. To use Progressive Web App features like installing on the client device and assets caching it has to be served either on localhost (for testing) or through https protocol.
Note that it cannot be accessed using file:// protocol of the browser.
Requirements: npm and node
git clone [email protected]:fac-17/Autsera.git
cd Autsera
npm install
npm start
Local development server is started by default on localhost:3000
.
Note that PWA features are NOT available in development server, you need to build and serve it from build
folder:
npm run build
npx serve -s build
You will have a production build server running on localhost:5000
Our test runner is Jest and all the test suites are started using test script:
npm test