Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fylein/fyle-intacct-api
API Repository for Fyle <> Sage Intacct Integration
https://github.com/fylein/fyle-intacct-api
team-integrations
Last synced: about 3 hours ago
JSON representation
API Repository for Fyle <> Sage Intacct Integration
- Host: GitHub
- URL: https://github.com/fylein/fyle-intacct-api
- Owner: fylein
- License: mit
- Created: 2020-07-09T06:43:01.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2024-12-27T11:34:52.000Z (10 days ago)
- Last Synced: 2025-01-01T12:39:12.228Z (5 days ago)
- Topics: team-integrations
- Language: Python
- Size: 3.11 MB
- Stars: 0
- Watchers: 6
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Fyle Sage Intacct API
Django Rest Framework API for Fyle Sage Intacct Integration### Setup
* Download and install Docker desktop for Mac from [here.](https://www.docker.com/products/docker-desktop)
* If you're using a linux machine, please download docker according to the distrubution you're on.
* Rename docker-compose.yml.template to docker-compose.yml
```
$ mv docker-compose.yml.template docker-compose.yml
```
* Setup environment variables in docker_compose.yml```yaml
environment:
SECRET_KEY: thisisthedjangosecretkey
ENCRYPTION_KEY:
ALLOWED_HOSTS: "*"
DEBUG: "False"
API_URL: http://localhost:8000/api
DATABASE_URL: postgres://postgres:postgres@db:5432/intacct_db
FYLE_BASE_URL:
FYLE_CLIENT_ID:
FYLE_CLIENT_SECRET:
FYLE_TOKEN_URI:
FYLE_JOBS_URL:
SI_SENDER_ID:
SI_SENDER_PASSWORD:
```
* Build docker images```
docker-compose build api qcluster
```* Run docker containers
```
docker-compose up -d db api qcluster
```* The database can be accessed by this command, on password prompt type `postgres`
```
docker-compose run -e PGPASSWORD=postgres db psql -h db -U postgres intacct_db
```* To tail the logs a service you can do
```
docker-compose logs -f
```* To stop the containers
```
docker-compose stop api qcluster
```* To restart any containers - `would usually be needed with qcluster after you make any code changes`
```
docker-compose restart qcluster
```* To run bash inside any container for purpose of debugging do
```
docker-compose exec api /bin/bash
```