Skip to content

Commit

Permalink
Format files
Browse files Browse the repository at this point in the history
  • Loading branch information
paescuj committed Jul 30, 2023
1 parent 89b65fc commit f91b77a
Show file tree
Hide file tree
Showing 60 changed files with 5,304 additions and 5,293 deletions.
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
pnpm-lock.yaml
/directus/snapshot.yaml
10 changes: 5 additions & 5 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"recommendations": [
"esbenp.prettier-vscode",
"dbaeumer.vscode-eslint",
"editorconfig.editorconfig"
]
"recommendations": [
"esbenp.prettier-vscode",
"dbaeumer.vscode-eslint",
"editorconfig.editorconfig"
]
}
54 changes: 32 additions & 22 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,15 @@

## Key Features

* Admin area where you can manage all your job applications:
* Upload of generic and job-specific application documents (PDFs)
* Automatically generates and stores screenshots of job ads and documents
* Dedicated access for each company:
* Web page with introduction text, application documents and chat widget
* Companies will be able to filter, search, drag'n'drop and download application documents and chat with you
* About page
* Light & dark mode
* Responsive & accessible
- Admin area where you can manage all your job applications:
- Upload of generic and job-specific application documents (PDFs)
- Automatically generates and stores screenshots of job ads and documents
- Dedicated access for each company:
- Web page with introduction text, application documents and chat widget
- Companies will be able to filter, search, drag'n'drop and download application documents and chat with you
- About page
- Light & dark mode
- Responsive & accessible

## Usage

Expand All @@ -39,6 +39,7 @@
#### Development - Initialization

Initialize and start the dev environment:

```bash
# Random access data will be generated and displayed during initialization
./run.sh init
Expand All @@ -47,16 +48,19 @@ Initialize and start the dev environment:
#### Development - Commands

Start dev environment when already initialized:

```bash
./run.sh
```

Run arbitrary `docker-compose` command:

```bash
./run.sh cmd ps
```

Destroy the dev environment:

```bash
./run.sh destroy
```
Expand All @@ -68,6 +72,7 @@ Currently intended for a single [Docker swarm](https://docs.docker.com/engine/sw
#### Production - Initialization

Initialize the app:

```bash
# Docker host where the app is deployed to
export DOCKER_HOST='ssh://user@remotehost'
Expand All @@ -91,41 +96,46 @@ export JAA_ENV='prod'

##### Chatwoot

* Log in to the «Job Application Assistant» with the admin user, go to the settings tab and click on the Chatwoot instance link.
* Create a Chatwoot account.
- Log in to the «Job Application Assistant» with the admin user, go to the settings tab and click on the Chatwoot instance link.
- Create a Chatwoot account.

*(Hint: Use your name as company name)*
* Get your API token from the profile settings page.
* Back in the «Job Application Assistant», click on the Chatwoot setup button and paste your token there.
_(Hint: Use your name as company name)_

- Get your API token from the profile settings page.
- Back in the «Job Application Assistant», click on the Chatwoot setup button and paste your token there.

#### Production - Commands

Update / redeploy the app:

```bash
JAA_ENV='prod' ./run.sh
```

Run arbitrary `docker` command:

```bash
JAA_ENV='prod' ./run.sh cmd stack ps jaa
```

Undeploy and delete everything (⚠️):

```bash
JAA_ENV='prod' ./run.sh destroy
```

## Built With

Jaa is built with the following great open source components:
* [Next.js](https://nextjs.org) - The React Framework for Production
* [Chakra UI](https://chakra-ui.com) - A simple, modular and accessible component library
* [Iconoir](https://iconoir.com) - The Definitive Open Source Icons Library
* [Directus](https://directus.io) - Open-Source Data Platform
* [PostgreSQL](https://www.postgresql.org) - The World's Most Advanced Open Source Relational Database
* [Chatwoot](https://www.chatwoot.com) - Open-source, self-hosted customer communication platform
* [Docker](https://www.docker.com/community/open-source) - Containerization technology
* ... and many more

- [Next.js](https://nextjs.org) - The React Framework for Production
- [Chakra UI](https://chakra-ui.com) - A simple, modular and accessible component library
- [Iconoir](https://iconoir.com) - The Definitive Open Source Icons Library
- [Directus](https://directus.io) - Open-Source Data Platform
- [PostgreSQL](https://www.postgresql.org) - The World's Most Advanced Open Source Relational Database
- [Chatwoot](https://www.chatwoot.com) - Open-source, self-hosted customer communication platform
- [Docker](https://www.docker.com/community/open-source) - Containerization technology
- ... and many more

## License

Expand Down
2 changes: 1 addition & 1 deletion directus/migrations/20211220-init.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export async function up(knex) {
admin_access: false,
app_access: false,
},
['id']
['id'],
)
)[0].id;

Expand Down
Loading

0 comments on commit f91b77a

Please sign in to comment.