Install With Docker
Introduction
There are two parts to fastCode – the application generator and the generated
application.
The application generator is provided to you through Docker containers. All the
required dependencies for running the application generator are pre-installed on the
docker containers. You just need to run an install script from the command line and in
less than 15 minutes everything will be setup for you.
Once the setup is complete, you can start generating applications using the application
generator. Applications that are generated by the fastCode application generator will
available for you to download. Additionally, once you setup the application generator
and login, you can setup you can setup fastCode application generator to create a
repository for each generated application in your GitHub or GitLab account.
Installing and Running the Application Generator
Pre-requisites
- You need to install Docker Desktop on your computer before proceeding with this
installation - If you are using Windows 10, you need to first install WSL2 (Windows Sub-system
for Linux 2) on your computer before you install Docker Desktop. The instructions
for installing WSL2 are provided at this link - Docker Desktop can be downloaded from the following locations based on your
Operating System - https://docs.docker.com/get-docker/ - Once you successfully complete installing the Docker Desktop, move onto the
next steps mentioned below
First, change directory to the directory where you have unzipped the fastCode
application generator. You should see two files: install.ps1 (Microsoft PowerShell script
for installing on Windows 10) and install.sh (Shell script for installing on either Linux or
Mac OS).
- Installing on Windows 10 :
* Open a Windows “cmd” window as an administrator
* From the cmd window, run “PowerShell.exe -ExecutionPolicy Bypass -File install.ps1”
* Follow the directions
- Installing on a Linux OS :
* Open a linux shell window with administrator privileges
* From the shell window, run “chmod -R 755 .” (don’t forget the dot(.) at the end of the command)
* Run “./install.sh”
* Follow the directions
- Installing on Mac :
* Open a terminal with administrator privileges
* From the terminal window, run “chmod -R 755 .” (don’t forget the dot(.) at the end of the command)
* Run “./install.sh”
* Follow the directions
Login to Application Generator
Once the installation is complete, login to the application generator using the
instructions below:
-
Open a web browser and go to https://127.0.0.1:5550.
-
If you are using Google Chrome, you will see a
NET::ERR_CERT_AUTHORITY_INVALID message. Click on the Advanced button
and click the link to Proceed -
You will now see a message that says “Greetings from fastCode!”
-
Go to https://127.0.0.1:4600.
-
If you are using Chrome, you will see a NET::ERR_CERT_AUTHORITY_INVALID
message. Click on the Advanced button and click the link to Proceed -
You will see the login screen for fastCode Application Generator
Login using the following credentials:
Username: admin
Password: secret
Using Database On localhost
- When using an application database that is installed on the localhost, please
specify the host name in the fastCode Application Generator as
host.docker.internal and not localhost
Database Schema Compliance
- When generating an application from a data model in the database, please
ensure that the data model complies with the rules listed in the “ Supported
Databases & Data Types ” section of fastCode documentation page:
https://www.getfastcode.com/documentation
Updated over 1 year ago