-
Run the app:
flask run --host=0.0.0.0 --port=8000
-
Set the necessary environment variables:
mkdir ~/buildMessages/ sudo chmod -R 777 ~/buildMessages/ # github access token export gitToken=123 # can be something like: https://ci.myapp.com export CI_URL=myurl # set it up on github.com for your webhook export GITHUB_SECRET=mygitsecret # must be the following format: "<repo_owner>/<repo_name>" export REPO_PATH=alexbuicescu/simpleCI # variable for sync/async export SYNC=true
-
Update or create your own
run_tests.sh
and give it run permissions:# needed to run the shell script chmod +x run_tests.sh
-
Add a new user and password for nginx (replace with the actual username, see more here):
printf "<username>:`openssl passwd -apr1`\n" >> ~/.htpasswd
-
Set permissions for passwords:
chmod 644 ~/.htpasswd
-
Start nginx:
cd simpleCI docker run \ --rm \ -p 80:80 \ --name ci-nginx \ -v $HOME/buildMessages:/buildMessages:ro \ -v $HOME/.htpasswd:/.htpasswd:ro \ -v $(pwd)/nginx.conf:/etc/nginx/nginx.conf:ro \ -d nginx
-
Screenshots folder architecture:
- screenshots/android/image.png
- screenshots/ios/image.png
- screenshots/webMobile/image.png
- screenshots/webDesktop/image.png
-
Notifications
You must be signed in to change notification settings - Fork 0
0x2539/simpleCI
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published