A project, designed to help farmers in forehanded planning of crops growing. Workflow consist of two main steps:
- getting familiar with current/planned situation in agriculture (plant growing)
- inputting data over farmer landholding
To start project on local server run $ git clone https://github.com/keenethics/agromonitor.git && cd agromonitor
.
Then install dependencies via $ meteor npm install
and start server with $ meteor --settings development.settings.json
.
- Receive a task
- Create a new appropriate branch
- [Pull there from
development
branch] - Do the task
- Commit your changes (checking linter errors before is a must!)
- Pull from
development
- Push changes to GitHub
- Create pull request
- Please, do not change names of existing variables!
- Do not remove methods, if you don't know where they are used!
- Plug the ESLint and follow the rules inviolately
Install linter
and linter-eslint
packages in Atom.
To sign user in/up, submit your email at login
page. In case you caught an error, revise Terminal and copy body
parameter found there. Paste into browser this URL: localhost:3000/login/<body>
.
Install CLI tools & log in:
$ npm i -g now meteor-now
$ now --login
Deploy with CLI:
$ meteor-now -e ROOT_URL=https://agropoll.now.sh -e MONGO_URL=mongodb://<dbuser>:<password>@ds133260.mlab.com:33260/agropoll -d
Note, that -e ROOT_URL
goes first of all other parameters.
You can also specify -e NODE_ENV
parameter.
Finally, set the alias for current deployment:
$ now alias https://<the-deployment-auto-name>.now.sh agropoll.now.sh
If you want to kill some now
instances you can type $ now ls
and $ now rm <instance url>