makestack's People
makestack's Issues
Add Django Impersonate....do we have that already?
establish convention for long-polling web services between react and django/redis/celery
I want a super easy way within a makestack app to add a background task to be access and polled from the react frontend.
Refactor construction of file paths in blocks.py
I got the following error:
(base) ➜ ~ conda activate test_project_999
(test_project_999) ➜ ~ pip install makestack
Collecting makestack
Using cached makestack-0.1-py3-none-any.whl
Collecting qprompt==0.16.3
Using cached qprompt-0.16.3-py3-none-any.whl
Collecting click-plugins>=1.1.1
Using cached click_plugins-1.1.1-py2.py3-none-any.whl (7.5 kB)
Collecting click>=8.1.3
Using cached click-8.1.3-py3-none-any.whl (96 kB)
Collecting iterfzf
Using cached iterfzf-0.5.0.20.0-py2.py3-none-macosx_10_10_intel.macosx_10_10_x86_64.macosx_10_11_intel.macosx_10_11_x86_64.macosx_10_12_intel.macosx_10_12_x86_64.whl (1.1 MB)
Requirement already satisfied: setuptools in ./miniconda3/envs/test_project_999/lib/python3.10/site-packages (from iterfzf->qprompt==0.16.3->makestack) (65.6.3)
Installing collected packages: iterfzf, click, qprompt, click-plugins, makestack
Successfully installed click-8.1.3 click-plugins-1.1.1 iterfzf-0.5.0.20.0 makestack-0.1 qprompt-0.16.3
(test_project_999) ➜ ~ which makestack
/Users/brendan/miniconda3/envs/test_project_999/bin/makestack
(test_project_999) ➜ ~ makestack startproject --name test_project_999 --directory .
(test_project_999) ➜ ~ rm -rf test_project_999
(test_project_999) ➜ ~ makestack startproject --name test_project_999 --directory .
[!] Creating the project folder. DONE.
-----------------------------------------------------------------
[?] Add Django to the environment?: y
[?] Add GeoServer to the environment?: n
[?] Add Mapshader to the environment?: n
[?] Add Nginx to the environment?: y
[?] Add Redis to the environment?: y
[?] Add Celery to the environment?: y
[?] Add React to the environment?: y
[?] Add Terraform to the environment?: y
[?] Add Sphinx to the environment?: n
-----------------------------------------------------------------
[INFO] Starting to set up the project environment.
[!] Setting up General Files... Traceback (most recent call last):
File "/Users/brendan/miniconda3/envs/test_project_999/bin/makestack", line 8, in <module>
sys.exit(main())
File "/Users/brendan/miniconda3/envs/test_project_999/lib/python3.10/site-packages/click/core.py", line 1130, in __call__
return self.main(*args, **kwargs)
File "/Users/brendan/miniconda3/envs/test_project_999/lib/python3.10/site-packages/click/core.py", line 1055, in main
rv = self.invoke(ctx)
File "/Users/brendan/miniconda3/envs/test_project_999/lib/python3.10/site-packages/click/core.py", line 1657, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/Users/brendan/miniconda3/envs/test_project_999/lib/python3.10/site-packages/click/core.py", line 1404, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/Users/brendan/miniconda3/envs/test_project_999/lib/python3.10/site-packages/click/core.py", line 760, in invoke
return __callback(*args, **kwargs)
File "/Users/brendan/miniconda3/envs/test_project_999/lib/python3.10/site-packages/makestack/startproject.py", line 63, in startproject
general.set_up()
File "/Users/brendan/miniconda3/envs/test_project_999/lib/python3.10/site-packages/makestack/blocks.py", line 18, in set_up
qprompt.status(f"Setting up {self.name}...", self._set_up)
File "/Users/brendan/miniconda3/envs/test_project_999/lib/python3.10/site-packages/qprompt.py", line 636, in status
return decor(func)(*fargs, **fkrgs)
File "/Users/brendan/miniconda3/envs/test_project_999/lib/python3.10/site-packages/qprompt.py", line 623, in wrapper
result = func(*args, **krgs)
File "/Users/brendan/miniconda3/envs/test_project_999/lib/python3.10/site-packages/makestack/blocks.py", line 81, in _set_up
self._copy_base_folder()
File "/Users/brendan/miniconda3/envs/test_project_999/lib/python3.10/site-packages/makestack/blocks.py", line 59, in _copy_base_folder
shutil.copytree(source, destination, dirs_exist_ok=True)
File "/Users/brendan/miniconda3/envs/test_project_999/lib/python3.10/shutil.py", line 556, in copytree
with os.scandir(src) as itr:
FileNotFoundError: [Errno 2] No such file or directory: 'makestack/data/general'
Add make commands for React Native development
Have easy to extend User Model with Token Authentication
Integrate STAC Server
Deploy to PyPI
Explore use of Huey
Improve Frontend Build time
Add SupervisorCTL
add mlflow
Add React Native Template
Compose the final Makefile based on selected components
Certain makestack components need different make commands.
Also, if a component is not selected, we want to omit those make commands.
I think each component should have a Makefile.txt which list its commands and then they are collated during startproject
Create FAQ
We should create a makestack FAQ which has a few useful questions for each component in the stack.
A few ideas to us started:
- How do I get the react app to refresh after I update the JS code?
- How do I add layers to GeoServer?
- How can I see what is currently stored in the Redis Cache?
- How can I add a layer to PostGIS?
- How can I implement a custom Django view which uses PostGIS data?
How many points can MapLibre render without major frame rate degradation?
Add basic logging to Django
Add logging (including rotating file logging), like what was added to Battleship (https://github.com/makepath/battleship/blob/master/backend/config/settings.py#L232)
Improve Readme and documentation
Add in iOS Simulator for folks to test mobile react-native app
Add `make start-frontend-dev` Makefile command
Add pgrouting
Add Geoserver to Django Admin if selected during startproject
How would we store a user supplied API key in the Django?
Add Common User Flows
- Sign Up
- Email Confirmation
- Forgot Password
Add Flower for admin users to Django Admin
Only for Admin Users and only for apps with Celery
Hot reload for Frontend
Is there currently a built in way within makestack for hotreload of the react app while doing development?
If not, lets add it!
Add Operational Layers to Map
- A GeoJSON Layer
- A WMS Layer from GeoServer
- A VectorTile Layer
`create-makestack-app` cli tool which create
I want to install makestack in my base python environment (pip install makestack
) and then be able to run:
makestack new <name_of_project>
The command would create a new project directory with the initial foundation for my application.
So basically to start a new application, the flow would be:
makestack new myapp
cd myapp
make build
make start
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.