Skip to content

undextrois/asctool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

# ASCTOOL

**ASCTOOL** is a command-line utility designed to automate essential deployment tasks for web applications. It streamlines the deployment process by handling database updates, service management, backups, and file system updates.

## 🚀 Features

- 🔌 Connects to a database and executes SQL scripts
- 🛑 Stops and starts IIS (Internet Information Services)
- 💾 Backs up the current website file system
- 📂 Copies new website files into place
- 🧰 Provides a one-command full deployment option
- 🆘 Includes a help switch for usage guidance

## 🛠 Usage

Run the tool with one or more of the following switches:

### 1. `-d` — Database Update
Connects to the database and executes SQL queries from a `.txt` file (e.g., `SQLquery.txt`):
```bash
asctool -d

2. -stop — Stop Services

Stops all IIS services:

asctool -stop

3. -start — Start Services

Starts all IIS services:

asctool -start

4. -b — Backup Website

Backs up the current website file system to a specified directory:

asctool -b

5. -c — Copy New Files

Copies the new website file system into place:

asctool -c

6. -i — Initialize Full Deployment

Performs all deployment steps in sequence:

asctool -i

7. -h — Help

Displays help and usage information:

asctool -h

📄 License

This project is licensed under the Apache License 2.0.

🤝 Contributing

Contributions, suggestions, and improvements are welcome! Feel free to fork the repository and submit a pull request.

📬 Contact

For questions or support, please open an issue on the GitHub repository.


About

asctool is use to automate all the necessary steps upon deployment

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors