Skip to content

A python script to initialize my fullstack web project files and directories

License

Notifications You must be signed in to change notification settings

DeXtreme/project-wizard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Project-Wizard

Project-Wizard is a python script created to initialize the files and directories for dockerized Django and React fullstack web project according the following structure:

project
│    docker-compose.test.yml
│    docker-compose.staging.yml
│    docker-compose.prod.yml
|
└─── Frontend
│    └─── App1
|    |    |    [React project files..]
|    |    |    dockerfile.test
|    |    |    dockerfile.staging
|    |    |    dockerfile.prod
│    └─── App2
|    |    |    [React project files..]
|    |    |    dockerfile.test
│    │    ...
|
└─── Backend
|    │    [Django project files..]
|    |    |    dockerfile.test
|
└─── .env
     |    app1.test.env
     |    app1.staging.env
     |    app1.prod.env
     |    app2.test.env
     |    ...
     |    backend.test.env
     |    ...

Requirements

Installation

Download and extract the .zip file or clone the repository

git clone https://github.com/DeXtreme/project-wizard.git

Usage

To create a project with a specific name:

python wizard.py -p project-name ./path/to/ app1 [app2 app3 ...] 

To create a project by first cloning a repository:

python wizard.py -g https://github.com/usethis/repo.git ./to/path/ app1 [app2 app3 ...] 

Future Additions

  • Add support for other frontend and backend frameworks
  • Include general parameters and code to the .env, dockerfiles and docker-compose files
  • Include a .env folder and docker-compose files in each app and the backend and combine them in the main docker-compose files

Contributing

Comments, suggestions, ideas and pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

MIT

About

A python script to initialize my fullstack web project files and directories

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages