https://github.com/ravi-prakash1907/artificial-intelligence
A repository for Artificial Intelligance (AI) for B.Sc. (H) C.S.
https://github.com/ravi-prakash1907/artificial-intelligence
ai artificial-intelligence bsc college docker dockerfile prolog-programming rm-prolog yml
Last synced: about 18 hours ago
JSON representation
A repository for Artificial Intelligance (AI) for B.Sc. (H) C.S.
- Host: GitHub
- URL: https://github.com/ravi-prakash1907/artificial-intelligence
- Owner: ravi-prakash1907
- License: gpl-3.0
- Created: 2019-12-21T12:48:01.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-05-21T16:27:28.000Z (about 3 years ago)
- Last Synced: 2023-05-21T17:23:55.680Z (about 3 years ago)
- Topics: ai, artificial-intelligence, bsc, college, docker, dockerfile, prolog-programming, rm-prolog, yml
- Language: Prolog
- Homepage: https://ravi-prakash1907.github.io/Artificial-Intelligence/
- Size: 635 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
- License: LICENSE
Awesome Lists containing this project
README
# A repository for Artificial Intelligance (AI)

A series of programs implemented in `prolog`
## Practical List
Click here to see the [practical list](Prolog-Programming/src/practicals/LIST%20OF%20PRACTICALS%20SEM%20VI.pdf)
---
### To run Prolog commend line:
#### (A) Without 'docker-compose.yml'
__While using very first time:__
> 1. Navigate to the *Prolog-Programming* directory.
> 2. Run the following command -
> ```
> docker build . -t prolog
> ```
> This command builds an image using the Dockerfile i.e. already present in this directory.
> Here **-t** tags the image i.e. gives an *alternative name to the image* that is being build. It helps it identify the image easily rather than using its id.
__Use the following command to run the prolog on command line:__
> **Once the image is created, we are good to go ahead to run it, whenever needed.**
> ```
> docker run -it --rm prolog
> ```
>
> Here
> **-it** stands for *interactive terminal*
> **--rm** Automatically remove the container when it exits i.e. stops
>
_As: Use comend line to run desired commands._
_Put all the prolog files (**.pl**) file in **src** directory._
#### (B) Using 'docker-compose.yml'
__While using very first time:__
> 1. Navigate to the *Prolog-Programming* directory.
> 2. Run the following command -
> ```
> docker-compose build --no-rm prolog
> ```
> This command builds an image using the Dockerfile i.e. already present in this directory.
> Here **--no-rm** used not to remove the intermediate containers that are also build during creating this image named *prolog-programming_prolog*
>
__Use the following command to run the prolog on command line:__
> **Once the image is created, we are good to go ahead to run it, whenever needed.**
> ```
> docker run -it --rm prolog-programming_prolog
> ```
> Here
> **-it** stands for *interactive terminal*
> **--rm** Automatically remove the container when it exits i.e. stops
>
---
[_visit here_](Prolog-Programming) _for a quick walkthrough with ```prolog```_