Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit af01d0e

Browse files
committed
🎉 Update README
1 parent 856ccf6 commit af01d0e

File tree

1 file changed

+7
-41
lines changed

1 file changed

+7
-41
lines changed

‎README.md

Lines changed: 7 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -1,54 +1,20 @@
1-
# Simplified dockerized php application
2-
[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Fjsdecena%2Fdocker-php-lemp.svg?type=shield)](https://app.fossa.io/projects/git%2Bgithub.com%2Fjsdecena%2Fdocker-php-lemp?ref=badge_shield)
3-
4-
## PHP versioning
5-
- Use v1.0.0 - php 7.2
6-
- Use v1.1.1 - php 7.4
7-
- Use v2.0.0 - php 8.0 - current
1+
# EARN Accounting Software
2+
DAD custom accounting software
83

94
## How to Install
105

116
- Download and install docker in your system. [Download here](https://www.docker.com/get-started)
127

138
- Install composer [here](https://getcomposer.org/doc/00-intro.md) if you haven't
149

15-
- Clone your app inside the `project` folder. It must have `/public` folder since the webserver looks for the index here
16-
17-
- A new laravel / lumen application can be installed with:
18-
19-
```php
20-
composer create-project --prefer-dist laravel/laravel .
21-
```
22-
23-
OR
10+
- - In the `project/`, rename `.env.example` to `.env`
2411

25-
```php
26-
composer create-project --prefer-dist laravel/lumen .
27-
```
12+
- Move to the root folder and run `cd projects && docker-compose up -d`
2813

29-
- Rename root `.env.example` to `.env`
14+
- Go inside the docker container: `docker exec -it app sh`
3015

31-
- Move to the root folder and run `docker-compose up -d`
16+
- Once inside, run `composer install && php artisan fresh && php artisan db:seed`
3217

3318
- Open your browser and go to [http://localhost:8000](http://localhost:8000)
3419

35-
- Enjoy!
36-
37-
## FAQ
38-
39-
- Why port 8000?
40-
- Sometimes you want your backend and frontend separated. You can have your frontend runs in the default `:80` and the API to be in port `:8000`
41-
42-
- Can we change this port?
43-
- Yes. You can change the port in the `webserver` block of the `docker-compose.yml` file
44-
45-
- Is everything customizable?
46-
- Yes. You can fiddle the `docker-compose.yml` file and make your own customization. Be sure you know what you are doing.
47-
48-
49-
50-
# Author
51-
[Jeff Simons Decena](https://jsdecena.me)
52-
53-
## License
54-
[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Fjsdecena%2Fdocker-php-lemp.svg?type=large)](https://app.fossa.io/projects/git%2Bgithub.com%2Fjsdecena%2Fdocker-php-lemp?ref=badge_large)
20+
- Enjoy!

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /