-
Notifications
You must be signed in to change notification settings - Fork 3
Documentation updates #570
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: development
Are you sure you want to change the base?
Changes from 2 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -2,10 +2,6 @@ | |
|
|
||
| Backend API powering [Infinite Industries](https://infinite.industries). | ||
|
|
||
| ## Features | ||
|
|
||
| - **TODO**: [refer to Project Page](https://github.com/infinite-industries/infinite/projects/1) | ||
|
|
||
| ## Development Environment Setup | ||
|
|
||
| ### Dependencies | ||
|
|
@@ -17,28 +13,26 @@ You will need the following tools: | |
| - [Postgres](https://www.postgresql.org/): 9.4.0 or higher | ||
| - [docker](https://www.docker.com) | ||
|
|
||
| Install dependencies: | ||
|
|
||
| ```bash | ||
| $ cd api-server | ||
| $ npm install | ||
| ``` | ||
|
|
||
| ### Setup | ||
|
|
||
| Set up the env file and add *1nfinite.pem* file to keys directory. Sample files are provided with a `.sample` suffix. | ||
| A core team member can send you the dev secrets via the Infinite Industries Slack. | ||
| Set up the env file. A sample file is provided with a `.sample` suffix. | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Maybe a note that you don't actually need to do this unless you need specific dotenv variables like AWS stuff? |
||
|
|
||
| ```bash | ||
| cp .env.sample .env | ||
| cp keys/1nfinite.pem 1nfinite.pem | ||
| ``` | ||
|
|
||
| ## Installation | ||
|
|
||
| ```bash | ||
| $ npm install | ||
| ``` | ||
|
|
||
| ## running integration tests | ||
| ### Set up Database | ||
|
|
||
| - put keys in the keys directory | ||
| - `npm run test:e2e` | ||
| The [docker-start-local-db.sh](./docker-start-local-db.sh) script will start a Postgres database in a Docker container with default database name and credentials. When started in dev mode, the API server will connect to this DB automatically. | ||
|
|
||
| ## Running the app | ||
| ## Running the App | ||
|
|
||
| ```bash | ||
| # development | ||
|
|
||
|
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @chriswininger I think the only part of this to-do list left to do is filtering by partner name, right?
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Congrats on deleting this file! |
This file was deleted.
Uh oh!
There was an error while loading. Please reload this page.