Remote-work and remote-life can become new key efforts in limiting CO2 emissions. You and your company actually earn real money and save time, plus productivity increases.
Calculations and coefficients used in the aplication
Spreadsheet with parameters and calculations for the corporate and personal calculators. These have been used as basis for calculations used in the application. Updating the spreadsheet won't update the application.
Questions for companies and individuals
⋅⋅⋅NodeJS Backend
⋅⋅⋅React front end
⋅⋅⋅Travis CI https://travis-ci.org/RemoteSocietyNow-ohtu/remotesocietynow
⋅⋅⋅Staging Heroku https://remotesocietynow.herokuapp.com/
⋅⋅⋅Eslint https://github.com/RemoteSocietyNow-ohtu/remotesocietynow/blob/master/.eslintrc.js
- Pushing to Github master branch will trigger Travis CI to run tests, lint and make a build of frontend.
- If succesfull the app is deployed to Heroku for staging and can be run at: https://remotesocietynow.herokuapp.com/.
- Production version is also running in Heroku, https://remotesocietynow-prod.herokuapp.com/.
- Staging version can manually be promoted to production in Heroku dashboad.
All other texts except questions
Not familiar with Git? This is a good place to start.
1. Clone the repository
git clone <repository>
2. Install dependencies
npm install
3. Start the project in development mode
npm run dev
Port 3001 will be used by default if not defined in .env
. Project will be open at address:
If needed create .env
file in the root directory. Define the necessary environment variables in .env
.
Example contents of .env
:
PORT=3001
Backend and frontend are automatically built after making changes to the code in development mode.
Eslint
Check for eslint-errors
npm run lint
Automatically fix most common eslint errors
npm run fix:lint
Jest
You can run tests with command
npm run test
Make changes to local copy then push to master
git add .
git commit -m "your message"
git push