A simple web application built with Julia that demonstrates how to deploy and run Julia applications on the Numerous platform. The app showcases interactive function plotting with a modern web interface.
- Interactive web interface for mathematical function plotting
- Support for multiple function types:
- Sine
- Cosine
- Tangent
- Quadratic (x²)
- Linear
- Customizable plot range and step size
- Real-time plot generation
- Containerized deployment using Docker
- Easy deployment to Numerous platform
- Julia 1.6+
- Docker (for container builds)
- Numerous CLI (for deployment)
- Clone this repository
- Navigate to the project directory
- Run directly with Julia:
Or using Docker:
julia -e 'using Pkg; Pkg.add(["HTTP", "Plots", "JSON"])' julia app.jl
docker build -t julia-demo . docker run -p 8080:8080 julia-demo
- Open your browser and navigate to http://localhost:8080
-
Sign-up on www.numerous.com by clicking sign-up and follow the steps.
-
Install the Numerous CLI if you haven't already
pip install numerous
-
Login to Numerous:
numerous login
-
Deploy your app:
numerous deploy -o <your-organization-slug>
To obtain an organization slug you can list your organizations with:
numerous organization list
app.jl
- Main application file containing the web server and plotting logicDockerfile
- Container configuration for building and running the appProject.toml
- Julia package dependenciesnumerous.toml
- Numerous platform configuration
- Access the deployed app through your Numerous dashboard or local instance
- Select a function type from the dropdown menu
- Adjust the plotting parameters:
- Start Value: Beginning of x-axis range
- End Value: End of x-axis range
- Step Size: Granularity of the plot
- Click "Generate Plot" to create and view the mathematical function
The application is built using:
- Julia HTTP.jl for the web server
- Plots.jl for generating mathematical visualizations
- JSON.jl for data handling
- Docker for containerization
- Numerous platform for deployment and hosting