Update README.md
This commit is contained in:
parent
58f9420830
commit
524a81ca9f
39
README.md
39
README.md
@ -1,24 +1,37 @@
|
|||||||
# README
|
# Tinyforms
|
||||||
|
|
||||||
This README would normally document whatever steps are necessary to get the
|
Form endpoint that allows to push data from a static HTML form directly into a google spreadsheet.
|
||||||
application up and running.
|
|
||||||
|
|
||||||
Things you may want to cover:
|
## Installation
|
||||||
|
|
||||||
* Ruby version
|
### Requirements
|
||||||
|
|
||||||
* System dependencies
|
* ruby 2.6 or higher
|
||||||
|
* PostgreSQL
|
||||||
|
|
||||||
* Configuration
|
### Installation
|
||||||
|
|
||||||
* Database creation
|
Install gem dependencies and setup the database:
|
||||||
|
|
||||||
* Database initialization
|
```bash
|
||||||
|
$ bundle install
|
||||||
|
$ rails db:setup
|
||||||
|
```
|
||||||
|
|
||||||
* How to run the test suite
|
### Configration
|
||||||
|
|
||||||
* Services (job queues, cache servers, search engines, etc.)
|
To use the application the Google API client needs to be configured using the following environment variables:
|
||||||
|
|
||||||
* Deployment instructions
|
* GOOGLE_CLIENT_ID
|
||||||
|
* GOOGLE_PROJECT_ID
|
||||||
|
* GOOGLE_CLIENT_SECRET
|
||||||
|
|
||||||
* ...
|
You can get those from the [Google APIs Dashboard](https://console.developers.google.com/apis/dashboard)
|
||||||
|
|
||||||
|
Store those in a `.env` file; see `env.example` for an example.
|
||||||
|
|
||||||
|
### Run the application
|
||||||
|
|
||||||
|
$ rails server # loads the configruation from the .env file
|
||||||
|
|
||||||
|
Open [localhost:3000](http://localhost:3000)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user