clonegur/README.md

49 lines
674 B
Markdown
Raw Normal View History

# Clonegur
2023-06-26 13:46:12 +00:00
Created by TopchetoEU
2023-06-26 13:46:12 +00:00
## Technologies:
- Deno
- Angular
- My brainz
## What is this?
This is exactly what the title sells it for - it's an imgur clone (but kinda worse).
2023-06-29 19:18:52 +00:00
## Running the code
2023-06-29 19:18:52 +00:00
### Development
Start the backend with:
```sh
2023-06-29 19:18:52 +00:00
# Executed in the backend folder
$ deno run -A src/index.ts
```
2023-06-29 19:18:52 +00:00
And the frontend with:
```sh
# Executed in the frontend folder
$ ng serve
```
### Production
First, build the frontend:
```sh
# Executed in the frontend folder
$ ng build
```
Then, copy the contents of backend/static. Finally start the backend:
```sh
# Executed in the backend folder
$ deno run --allow-read --allow-write --allow-net main.ts
```